Skip to content

Commit

Permalink
move docker buildx to plugins folder
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbaber committed Nov 18, 2022
1 parent edef885 commit f389cf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ RUN apk add --no-cache \
wget

# Install Docker Buildx
RUN wget -O /usr/bin/docker-buildx \
RUN mkdir -p /usr/local/libexec/docker/cli-plugins && \
wget -O /usr/local/libexec/docker/cli-plugins/docker-buildx \
https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-amd64 && \
chmod +x /usr/bin/docker-buildx
chmod +x /usr/local/libexec/docker/cli-plugins/docker-buildx

# Install Trivy
COPY --from=aquasec/trivy:0.29.0 /usr/local/bin/trivy /usr/local/bin/trivy
Expand Down

0 comments on commit f389cf2

Please sign in to comment.