File tree Expand file tree Collapse file tree
root/etc/s6-overlay/s6-rc.d/init-code-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 nano \
2222 net-tools \
2323 netcat \
24- sudo && \
24+ nano \
25+ net-tools \
26+ netcat \
27+ python3 \
28+ python3-venv \
29+ python3-pip \
30+ sqlite3 \
31+ nodejs \
32+ npm \
33+ yarn \
34+ wget \
35+ unzip \
36+ zip \
37+ docker.io \
38+ sudo &&\
39+ npm install -g bun &&\
2540 echo "**** install code-server ****" && \
2641 if [ -z ${CODE_RELEASE+x} ]; then \
2742 CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
Original file line number Diff line number Diff line change @@ -29,3 +29,9 @@ chmod 700 /config/.ssh
2929if [ -n "$(ls -A /config/.ssh)" ]; then
3030 chmod 600 /config/.ssh/*
3131fi
32+
33+ #add user to docker group
34+ usermod -aG docker abc
35+ #change privileges on docker.sock
36+ chown root:docker /var/run/docker.sock
37+ chmod 666 /var/run/docker.sock
You can’t perform that action at this time.
0 commit comments