File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ ARG FROM=webdevops/php-nginx-dev:8.2-alpine
22ARG DIST_ADDON=-alpine
33FROM $FROM AS base-alpine
44# Install additional software Alpine:
5- RUN apk add --no-cache sudo vim nano git-perl less tree bash-completion mariadb-client iputils sshpass gdb tzdata findmnt jq docker-cli file && \
5+ RUN apk add --no-cache sudo vim nano git-perl less tree bash-completion mariadb-client iputils sshpass gdb tzdata findmnt jq docker-cli docker-compose file && \
6+ addgroup application $(getent group 999 | cut -d: -f1) && \
67 echo "application ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
78
89FROM $FROM AS base
910# Install additional software Debian:
1011RUN apt-get update && \
1112 apt-get install -y sudo vim nano less tree bash-completion mariadb-client iputils-ping sshpass gdb jq && \
1213 usermod -aG sudo application && \
14+ usermod -aG 999 application && \
1315 echo "application ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
1416 curl -fsSL https://get.docker.com/ | sh && \
1517 rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 77
88CONTEXT=${CONTEXT:- Development}
99
10- USER=${APPLICATION_UID:- 1000} : ${APPLICATION_GID :- 1000}
10+ USER=${APPLICATION_UID:- 1000}
1111
1212if [ -z " $SSH_AUTH_SOCK " ]
1313then
You can’t perform that action at this time.
0 commit comments