1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-25 18:28:07 +02:00

Update Dockerfile

Signed-off-by: techopsmasters <163403479+techopsmasters@users.noreply.github.com>
This commit is contained in:
techopsmasters 2024-05-13 19:21:12 +05:30 committed by GitHub
parent 8fefb90e0e
commit ff42dbb804
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,15 +21,11 @@ CMD ["/code/bin/backend"]
FROM builder AS dev-envs
RUN <<EOF
apk update
apk add git
EOF
RUN apt update && \
add git
RUN <<EOF
addgroup -S docker
adduser -S --shell /bin/bash --ingroup docker vscode
EOF
RUN addgroup -S docker && \
adduser -S --shell /bin/bash --ingroup docker vscode
# install Docker tools (cli, buildx, compose)
COPY --from=gloursdocker/docker / /