Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
geloman committed Nov 24, 2024
1 parent 22d34a1 commit a540f41
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM alpine:latest AS base
RUN apk add zsh unzip tar
RUN useradd --create-home --groups sudo --shell /usr/bin/zsh geloman \
&& echo "geloman ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/geloman \
&& chmod 0440 /etc/sudoers.d/geloman
RUN addgroup --gid 1000 geloman
RUN adduser --gecos geloman --uid 1000 --gid 1000 --disabled-password geloman

# FROM base AS setup
# USER geloman
Expand Down

0 comments on commit a540f41

Please sign in to comment.