github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/ci/cli-base/Dockerfile (about)

     1  FROM golang:1.13.4
     2  
     3  RUN go version
     4  
     5  # used to ensure we avoid a Git security CVE (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19604)
     6  RUN apt update && apt upgrade -y
     7  
     8  # used by coverage utilities
     9  RUN go get golang.org/x/tools/cmd/cover
    10  
    11  # used by go-bindata
    12  RUN go get github.com/shuLhan/go-bindata
    13  
    14  # used to set the icon when build binaries for windows
    15  RUN go get github.com/akavel/rsrc
    16  
    17  RUN sed -i -e 's/httpredir.debian.org/ftp.us.debian.org/' /etc/apt/sources.list
    18  
    19  # used in CATs tests, building the binaries, and internationalization
    20  RUN apt update && apt install -y jq zip make vim locales
    21  
    22  # install bosh
    23  RUN curl -L https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-5.2.2-linux-amd64 --output /usr/local/bin/bosh && chmod 0755 /usr/local/bin/bosh
    24  
    25  # install credhub
    26  RUN curl -L https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/2.0.0/credhub-linux-2.0.0.tgz --output /tmp/credhub.tgz && tar -xzf /tmp/credhub.tgz -C /usr/local/bin && chmod 0755 /usr/local/bin/credhub
    27  
    28  # install credhub v1.6.0 for legacy environment
    29  RUN curl -L https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/1.6.0/credhub-linux-1.6.0.tgz --output /tmp/credhub.tgz && tar -xzf /tmp/credhub.tgz && mv credhub /usr/local/bin/credhub1 && chmod 0755 /usr/local/bin/credhub1
    30  
    31  # install bbl
    32  RUN curl -L https://github.com/cloudfoundry/bosh-bootloader/releases/download/v6.9.16/bbl-v6.9.16_linux_x86-64 --output /usr/local/bin/bbl && chmod 0755 /usr/local/bin/bbl
    33  
    34  # install bbl v5.11.6 for legacy environment
    35  RUN curl -L https://github.com/cloudfoundry/bosh-bootloader/releases/download/v5.11.6/bbl-v5.11.6_linux_x86-64 --output /usr/local/bin/bbl5 && chmod 0755 /usr/local/bin/bbl5