Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|