File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed
Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 1- # syntax=docker/dockerfile:1
2-
3-
41ARG COMPOSE_VERSION=v2.32.2
5-
6-
72FROM docker/compose-bin:${COMPOSE_VERSION} AS compose
83
9- FROM debian:bookworm-slim AS compose-plugin
10-
11- COPY --from=compose /docker-compose /usr/local/bin/docker-compose
4+ FROM debian:bookworm-20250407-slim AS compose-plugin
5+ WORKDIR /home/compose
126ENV COMPOSE_COMPATIBILITY=true
13-
147# add user
158RUN addgroup --gid 3000 compose && \
169 adduser --uid 3000 --gecos "" --disabled-password \
1710 --ingroup compose \
1811 --home /home/compose \
1912 --shell /bin/bash compose
20-
21- WORKDIR /home/compose
22-
23- RUN chown -R compose:compose /home/compose && \
24- chmod 755 /home/compose
25-
2613USER compose:compose
2714
15+ COPY --from=compose --chown=compose:compose /docker-compose /usr/local/bin/docker-compose
16+
2817ENTRYPOINT [ "docker-compose" ]
Original file line number Diff line number Diff line change 1- version : 1.5.2
1+ version : 1.5.3
You can’t perform that action at this time.
0 commit comments