Skip to content

Commit

Permalink
Duplicate environment variables for root
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
ahoischen committed Jul 28, 2017
1 parent 62aad9e commit 629fc1f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/", "/"]
Expand Down

0 comments on commit 629fc1f

Please sign in to comment.