We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da08dac commit 80a57baCopy full SHA for 80a57ba
.github/docker/alpine-3.21.Dockerfile
@@ -18,6 +18,7 @@ ENV OS_VER=3.21
18
ARG BASE_DEPS="\
19
bash \
20
cmake \
21
+ doas \
22
git \
23
g++ \
24
make \
@@ -41,6 +42,9 @@ RUN apk update \
41
42
# Add a new (non-root) 'test_user'
43
#ENV USER test_user
44
#ENV USERPASS pass
-RUN adduser -D test_user -G wheel
45
-RUN echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
+RUN adduser -D test_user
46
+RUN echo "permit persist keepenv :wheel" > /etc/doas.conf
47
+
48
+# Add test_user to wheel group (common admin group in Alpine)
49
+RUN addgroup test_user wheel
50
USER test_user
0 commit comments