docker-compose-docker/Dockerfile
CSRBot 7efc6c2d7d
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
chore(deps): update docker.io/library/golang docker tag to v1.23.3
2024-11-07 08:07:25 +00:00

19 lines
448 B
Docker

FROM docker.io/library/golang:1.23.3-alpine3.20 AS build
ARG DC_VERSION=main
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" ]