diff options
Diffstat (limited to 'docker/debian-dev/Dockerfile')
-rw-r--r-- | docker/debian-dev/Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docker/debian-dev/Dockerfile b/docker/debian-dev/Dockerfile index 83e5717..ce0b10c 100644 --- a/docker/debian-dev/Dockerfile +++ b/docker/debian-dev/Dockerfile @@ -1,8 +1,10 @@ FROM debian:11 +ARG USERNAME= ARG IN_CHINA= ARG SETUP_SBUILD= +ENV USERNAME=${USERNAME} ENV IN_CHINA=${IN_CHINA} ENV SETUP_SBUILD=${SETUP_SBUILD} @@ -10,6 +12,7 @@ ADD bootstrap /bootstrap RUN /bootstrap/setup.bash -VOLUME [ "/source", "/data" ] -CMD [ "bash", "-l" ] +USER ${USERNAME} +VOLUME [ "/source", "/data", "/share" ] +CMD [ "bash", "-l" ] |