optional sudo password via env variable

This commit is contained in:
aptalca
2019-07-09 17:29:50 -04:00
parent 886c4797f9
commit b722cd6c8f
4 changed files with 20 additions and 4 deletions

View File

@@ -15,7 +15,8 @@ RUN \
apt-get install -y \
git \
nano \
net-tools && \
net-tools \
sudo && \
echo "**** install code-server ****" && \
if [ -z ${CODE_RELEASE+x} ]; then \
CODE_RELEASE=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/latest" \