Skip to content

Commit 3cf30c1

Browse files
committed
Add packages (python, bun, wget ...) and perms
1 parent 218becb commit 3cf30c1

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

Dockerfile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,22 @@ RUN \
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 \

root/etc/s6-overlay/s6-rc.d/init-code-server/run

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ chmod 700 /config/.ssh
2929
if [ -n "$(ls -A /config/.ssh)" ]; then
3030
chmod 600 /config/.ssh/*
3131
fi
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

0 commit comments

Comments
 (0)