Skip to content

Commit b877812

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

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
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

.github/workflows/nightly.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,10 @@ jobs:
375375

376376
alpine:
377377
name: Alpine
378+
env:
379+
HOST_WORKDIR: ${{github.workspace}}
380+
WORKDIR: /unified-memory-framework
378381
strategy:
379-
fail-fast: false
380382
matrix:
381383
build_type: [Debug, Release]
382384
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)