Skip to content

Commit 4a34ac8

Browse files
committed
remove pip and update dockerfile
1 parent 0744ff9 commit 4a34ac8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ci/dockerfiles/deployment/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19
1+
FROM golang:1.20
22
LABEL maintainer="https://github.com/cloudfoundry/bosh-bootloader"
33

44
ARG GITHUB_TOKEN
@@ -80,12 +80,12 @@ RUN curl -s https://api.github.com/repos/cloudfoundry/credhub-cli/releases/lates
8080

8181
RUN go install github.com/pivotal-cf/texplate@latest
8282

83-
# Install pip
84-
RUN curl https://bootstrap.pypa.io/get-pip.py | python3
85-
8683
# Install yq
87-
RUN pip install yq
88-
RUN pip install -U awscli
84+
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && \
85+
chmod +x /usr/bin/yq
86+
87+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
88+
unzip awscliv2.zip && ./aws/install
8989

9090
RUN chown -R testuser:testuser /usr/local/go/pkg
9191
RUN chown -R testuser:testuser /go

0 commit comments

Comments
 (0)