docker-compose-docker/Dockerfile
Markus Pesch 59e473e230
Some checks failed
continuous-integration/drone/push Build is failing
Initial Commit
2024-08-30 15:03:47 +02:00

19 lines
450 B
Docker

FROM docker.io/library/golang:1.23.0-alpine3.20 AS build
ARG DC_VERSION=master
RUN set -ex && \
apk update && \
apk upgrade && \
apk add git make
RUN git clone https://github.com/docker/compose.git --branch ${DC_VERSION} docker-compose && \
cd docker-compose && \
make DESTDIR=/cache
FROM docker.io/library/alpine:3.20
COPY --from=build /cache/docker-compose /usr/bin/docker-compose
ENTRYPOINT [ "/usr/bin/docker-compose" ]