Skip to content
Snippets Groups Projects
Select Git revision
  • master protected
  • develop default protected
  • add-java-build-server
  • add-museum-reservations-server
  • update-mr-approval
  • php-soap
  • add-zaproxy-container
  • 16-update-dependency-check-to-v6-0-3
  • 15-detect-secrets-does-not-detect-secrets-in-subdirectories
9 results

Dockerfile

Blame
  • Dockerfile 1.92 KiB
    FROM alpine:latest
    
    ARG BUILD_DATE
    ARG VCS_REF
    ARG VERSION
    LABEL org.label-schema.build-date=$BUILD_DATE \
          org.label-schema.name="Alpine OpenSSH Client" \
          org.label-schema.description="Alpine image with OpenSSH client" \
          org.label-schema.vcs-ref=$VCS_REF \
          org.label-schema.vendor="University of Nebraska - Lincoln" \
          org.label-schema.version="0.1.0" \
          org.label-schema.schema-version="1.0" \
          maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
    
    RUN apk add --no-cache openssh-client ca-certificates rsync lftp
    
    RUN mkdir -p ~/.ssh && chmod 700 ~/.ssh \
        && touch ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts \
        && ssh-keyscan -H its-lampinteg1.unl.edu,129.93.168.14 \
                          its-lampstage1.unl.edu,129.93.168.50 \
                          its-linstage2.unl.edu,129.93.169.147 \
                          its-lampprod1.unl.edu,129.93.168.36 \
                          its-linprod2.unl.edu,129.93.169.114 \
                          y1cap.unl.edu,129.93.169.153 \
                          y1cbp-test.unl.edu,129.93.169.90 \
                          y1cbp-ext.unl.edu,129.93.169.224 \
                          passel2.unl.edu,129.93.168.221 \
                          buros-apps.unl.edu,129.93.168.136 \
                          its-lrc2.unl.edu,129.93.168.197 \
                          its-ads-saml-proxy.unl.edu,129.93.168.174 \
                          is-appstuq.unl.edu,129.93.138.30 \
                          its-foodborne.unl.edu,144.216.202.4 \
                          its-linprodjob1.unl.edu,10.1.6.31 \
                          nllagsnweb001xp.unl.edu,144.216.202.49 \
                          nllagsnapp001xp.unl.edu,10.180.32.83 \
                          its-lampinteg2.unl.edu,144.216.202.38 \
                          its-lampstage2.unl.edu,144.216.202.43 \
                          its-lampprod2.unl.edu,144.216.202.44 \
                          its-ads-museum-reservations1.unl.edu,144.216.202.10 \
                          >> ~/.ssh/known_hosts