github.com/arunkumar7540/cli@v6.45.0+incompatible/ci/cli-base/Dockerfile (about) 1 FROM golang:1.12 2 3 RUN go version 4 5 # used by coverage utilities 6 RUN go get golang.org/x/tools/cmd/cover 7 8 # used by go-bindata 9 RUN go get github.com/shuLhan/go-bindata 10 11 # used to set the icon when build binaries for windows 12 RUN go get github.com/akavel/rsrc 13 14 RUN sed -i -e 's/httpredir.debian.org/ftp.us.debian.org/' /etc/apt/sources.list 15 16 # used in CATs tests, building the binaries, and internationalization 17 RUN apt update && apt install -y jq zip make vim locales 18 19 # install bosh 20 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 21 22 # install credhub 23 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 24 25 # install credhub v1.6.0 for legacy environment 26 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 27 28 # install bbl 29 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 30 31 # install bbl v5.11.6 for legacy environment 32 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