From 372f18b2e573bd09d2dbf5f7b4b295a46e07524e Mon Sep 17 00:00:00 2001 From: Jonathan Berrisch Date: Tue, 15 Oct 2024 13:10:20 +0200 Subject: [PATCH] Set container environment variable --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e2f7bc6..bb2cb12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ FROM ubuntu:noble@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5d SHELL ["/bin/bash", "-c"] ENV DISPLAY=:0 \ - TZ=Europe/Berlin + TZ=Europe/Berlin \ + container=TRUE ARG USERNAME=ubuntu ENV R_LIBS_USER=/home/$USERNAME/R/library