Skip to content

Commit c7e34db

Browse files
committed
Various improvements.
1 parent 6908840 commit c7e34db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,6 @@ RUN useradd --groups sudo --create-home --shell /bin/bash $USER \
102102
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
103103
&& chmod 0440 /etc/sudoers.d/${USER}
104104

105+
RUN rm -rf ${WORKDIR}/*
106+
105107
USER ${USER}

build/start.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ cd $WORKDIR
77
sudo chown -R $USER:$USER /var/www/html
88
sudo chown -R $USER:$USER /home/$USER
99

10-
sudo rm -rf $WORKDIR/*
11-
1210
if [ ! -z "$WWWUSER" ]; then
1311
sudo usermod -u $WWWUSER $USER
1412
fi

0 commit comments

Comments
 (0)