Skip to content
Snippets Groups Projects
Commit 5ab7c252 authored by Jérémie Drouet's avatar Jérémie Drouet
Browse files

init: first commit

parents
No related branches found
No related tags found
No related merge requests found
FROM alpine AS fetcher
RUN apk add curl
ARG BUILDX_VERSION=0.3.1
RUN curl -L \
--output /docker-buildx \
"https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-amd64"
RUN chmod a+x /docker-buildx
FROM docker:stable
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
# docker image with buildx installed
To build the image, you just have to run
```bash
docker build -t docker-with-buildx .
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment