dracoox commited on
Commit
74b852b
·
verified ·
1 Parent(s): ee3d949

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -5
Dockerfile CHANGED
@@ -1,11 +1,21 @@
1
  FROM debian:sid
2
- RUN apt update
 
 
 
 
3
  RUN useradd -m -u 1000 user
4
- RUN apt install wget curl sudo git curl -y
5
- RUN git clone https://github.com/dyl...​ /opt/neofetch && \
 
6
  ln -s /opt/neofetch/neofetch /usr/local/bin/neofetch
7
- RUN curl -fsSL https://code-server.de...​ | sh -s -- --dry-run
8
- RUN curl -fsSL https://code-server.de...​ | sh
 
 
 
9
  ENV HOME=/home/user \
10
  PATH=/home/user/.local/bin:$PATH
 
 
11
  CMD code-server --auth none --bind-addr 0.0.0.0:7860
 
1
  FROM debian:sid
2
+
3
+ # Update packages
4
+ RUN apt update && apt install -y wget curl sudo git
5
+
6
+ # Create user
7
  RUN useradd -m -u 1000 user
8
+
9
+ # Install Neofetch
10
+ RUN git clone https://github.com/dylanaraps/neofetch.git /opt/neofetch && \
11
  ln -s /opt/neofetch/neofetch /usr/local/bin/neofetch
12
+
13
+ # Install code-server
14
+ RUN curl -fsSL https://code-server.dev/install.sh | sh
15
+
16
+ # Environment variables
17
  ENV HOME=/home/user \
18
  PATH=/home/user/.local/bin:$PATH
19
+
20
+ # Start code-server
21
  CMD code-server --auth none --bind-addr 0.0.0.0:7860