mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-28 23:31:47 +02:00
Merge 6d813ec88f
into 18f59bdb09
This commit is contained in:
commit
37edbc01ae
28 changed files with 116 additions and 208 deletions
|
@ -8,16 +8,13 @@ RUN CGO_ENABLED=0 go build -o backend main.go
|
|||
|
||||
FROM build as dev-envs
|
||||
|
||||
RUN <<EOF
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends git
|
||||
EOF
|
||||
RUN apt update && \
|
||||
apt install -y --no-install-recommends git
|
||||
|
||||
RUN <<EOF
|
||||
useradd -s /bin/bash -m vscode
|
||||
groupadd docker
|
||||
RUN useradd -s /bin/bash -m vscode && \
|
||||
groupadd docker && \
|
||||
usermod -aG docker vscode
|
||||
EOF
|
||||
|
||||
# install Docker tools (cli, buildx, compose)
|
||||
COPY --from=gloursdocker/docker / /
|
||||
CMD ["go", "run", "main.go"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue