Files
docker-compose-docker/Dockerfile
CSRBot 91de1df637
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m19s
Build / build-arm64 (pull_request) Successful in 7m29s
chore(deps): update docker.io/library/golang docker tag to v1.25.0
2025-08-13 22:03:45 +00:00

19 lines
448 B
Docker

FROM docker.io/library/golang:1.25.0-alpine3.21 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.22
COPY --from=build /cache/docker-compose /usr/bin/docker-compose
ENTRYPOINT [ "/usr/bin/docker-compose" ]