Skip to content

Commit

Permalink
fix: add workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
AngryMaciek authored May 14, 2023
1 parent 15417ed commit a0cd28d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ FROM ubuntu:22.04
LABEL version="1.0.0"
LABEL maintainer="Maciek Bak"

# Set enviro vars
ENV LANG C.UTF-8
ENV SHELL /bin/bash

# Set the non-root user
ARG USERNAME=angryuser
ARG USER_UID=1000
Expand All @@ -24,5 +28,8 @@ RUN groupadd --gid $USER_GID $USERNAME \
# Switch to the non-root user
USER $USERNAME

# Set the workdir
WORKDIR /home/angryuser

# Start the container
CMD ["/bin/bash"]

0 comments on commit a0cd28d

Please sign in to comment.