| FROM debian:sid |
|
|
| |
| RUN apt update && apt install -y wget curl git doas && \ |
| chmod u+s /usr/bin/doas && \ |
| echo "permit persist user as root" > /etc/doas.conf && \ |
| chown root:root /etc/doas.conf && chmod 0400 /etc/doas.conf |
|
|
| |
| RUN useradd -m -u 1000 -s /bin/bash user |
|
|
| |
| RUN git clone https://github.com/dylanaraps/neofetch.git /opt/neofetch && \ |
| ln -s /opt/neofetch/neofetch /usr/local/bin/neofetch |
|
|
| |
| RUN curl -fsSL https://code-server.dev/install.sh | sh |
|
|
| |
| USER user |
|
|
| |
| ENV HOME=/home/user \ |
| PATH=/home/user/.local/bin:$PATH |
|
|
| |
| CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860"] |