Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
Syntactic sugar for the Dockerfile.
  • Loading branch information
BerriJ committed Oct 15, 2024
1 parent 372f18b commit 4c24e08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ FROM ubuntu:noble@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5d

SHELL ["/bin/bash", "-c"]

ENV DISPLAY=:0 \
TZ=Europe/Berlin \
container=TRUE

ARG USERNAME=ubuntu
ENV R_LIBS_USER=/home/$USERNAME/R/library
ARG VIRTUAL_ENV=/home/$USERNAME/python/venv
ARG USER_UID=1000
ARG USER_GID=$USER_UID
ARG DEBIAN_FRONTEND=noninteractive

ENV DISPLAY=:0 \
TZ=Europe/Berlin \
container=TRUE \
R_LIBS_USER=/home/$USERNAME/R/library

# Add ubuntu user to ubuntu and staff groups
RUN usermod -a -G staff,$USERNAME $USERNAME

Expand Down

0 comments on commit 4c24e08

Please sign in to comment.