Skip to content

Commit 248ce98

Browse files
committed
Build UMF on Alpine image
1 parent 80a57ba commit 248ce98

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/docker/alpine-3.21.Dockerfile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ ENV OS_VER=3.21
1818
ARG BASE_DEPS="\
1919
bash \
2020
cmake \
21-
doas \
2221
git \
2322
g++ \
24-
make \
25-
sudo"
23+
make"
2624

2725
# UMF's dependencies
2826
ARG UMF_DEPS="\
@@ -38,13 +36,3 @@ RUN apk update \
3836
${BASE_DEPS} \
3937
${TEST_DEPS} \
4038
${UMF_DEPS}
41-
42-
# Add a new (non-root) 'test_user'
43-
#ENV USER test_user
44-
#ENV USERPASS pass
45-
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

Comments
 (0)