Compare commits
2 commits
af72e91aee
...
6d91d53b08
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d91d53b08 | ||
|
|
0fe0696102 |
1 changed files with 9 additions and 1 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -1,9 +1,17 @@
|
|||
FROM alpine:3.20
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
openssh \
|
||||
git \
|
||||
nodejs \
|
||||
lftp
|
||||
|
||||
USER 1000
|
||||
ARG USERNAME=runner
|
||||
ARG USER_UID=1000
|
||||
ARG USER_GID=$USER_UID
|
||||
|
||||
RUN addgroup --gid $USER_GID $USERNAME \
|
||||
&& adduser -u $USER_UID -G $USERNAME -D $USERNAME
|
||||
|
||||
USER $USERNAME
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue