Skip to content

Commit

Permalink
buildx v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Aug 31, 2021
1 parent 3586fbd commit c4dee07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

FROM docker

RUN apk add -v --update bash curl python py-pip jq git file tar && \
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing hub
RUN apk add -v --update bash curl python py-pip jq git file tar

# awscli
ENV awscli 2.2.30
Expand All @@ -14,7 +13,7 @@ RUN pip install --upgrade awscli==${awscli} && \
# buildx
ENV buildx v0.5.1
RUN curl -sL -o /usr/lib/docker/cli-plugins/docker-buildx \
"https://github.com/docker/buildx/releases/download/v${buildx}/buildx-v${buildx}.linux-amd64"
"https://github.com/docker/buildx/releases/download/v${buildx}/buildx-v${buildx}.linux-amd64"
RUN chmod a+x /usr/lib/docker/cli-plugins/docker-buildx

COPY .m2/ /root/.m2/
Expand Down
11 changes: 8 additions & 3 deletions kube/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@

FROM docker

RUN apk add -v --update bash curl python py-pip jq git file tar && \
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing hub
RUN apk add -v --update bash curl python py-pip jq git file tar

# awscli
ENV awscli 2.0.37
ENV awscli 2.2.30
RUN pip install --upgrade awscli==${awscli} && \
apk del -v --purge py-pip && \
rm /var/cache/apk/*

# buildx
ENV buildx v0.5.1
RUN curl -sL -o /usr/lib/docker/cli-plugins/docker-buildx \
"https://github.com/docker/buildx/releases/download/v${buildx}/buildx-v${buildx}.linux-amd64"
RUN chmod a+x /usr/lib/docker/cli-plugins/docker-buildx

# kubectl
ENV kubectl v1.22.1
RUN curl -sLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${kubectl}/bin/linux/amd64/kubectl && \
Expand Down

0 comments on commit c4dee07

Please sign in to comment.