mirror of
https://github.com/linuxserver/docker-code-server
synced 2025-06-26 18:27:40 +00:00
optional sudo password via env variable
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user