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
2
2
ARG DIST_ADDON=-alpine
3
3
FROM $FROM AS base-alpine
4
4
# 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) && \
6
7
echo "application ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
7
8
8
9
FROM $FROM AS base
9
10
# Install additional software Debian:
10
11
RUN apt-get update && \
11
12
apt-get install -y sudo vim nano less tree bash-completion mariadb-client iputils-ping sshpass gdb jq && \
12
13
usermod -aG sudo application && \
14
+ usermod -aG 999 application && \
13
15
echo "application ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
14
16
curl -fsSL https://get.docker.com/ | sh && \
15
17
rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 7
7
8
8
CONTEXT=${CONTEXT:- Development}
9
9
10
- USER=${APPLICATION_UID:- 1000} : ${APPLICATION_GID :- 1000}
10
+ USER=${APPLICATION_UID:- 1000}
11
11
12
12
if [ -z " $SSH_AUTH_SOCK " ]
13
13
then
You can’t perform that action at this time.
0 commit comments