From 629fc1f6dc9e1509c71c3af1b87a8bdd169b224a Mon Sep 17 00:00:00 2001 From: Alexander Hoischen Date: Sat, 29 Jul 2017 01:28:12 +0200 Subject: [PATCH] Duplicate environment variables for root Duplicates the ENV statement to include all variables for root. It was originally planned to only duplicate DEVKITPRO and DEVKITARM, but the modification of PATH is potentially useful as well and maybe DISPLAY too, so I see no reason not to duplicate the whole statement. Closes #25. [skip ci] --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0e87453..879fafa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,6 +49,11 @@ RUN REPO=http://cdn-fastly.deb.debian.org && \ true; +ENV DISPLAY=":0" \ + DEVKITPRO="/opt/devkitPro" \ + DEVKITARM="/opt/devkitPro/devkitARM" \ + PATH="/opt/devkitPro/devkitARM/bin:${PATH}" + USER user COPY ["imagefs/", "/"]