Vps2 / Dockerfile
proti0070's picture
Create Dockerfile
dccf97d verified
raw
history blame contribute delete
607 Bytes
FROM kalilinux/kali-rolling
ENV DEBIAN_FRONTEND=noninteractive
ENV HOSTNAME=xro
# ---- Base packages ----
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
git \
sudo \
htop \
btop \
neovim \
lsof \
&& rm -rf /var/lib/apt/lists/*
# ---- Install code-server (VSCode in browser) ----
RUN curl -fsSL https://code-server.dev/install.sh | sh
# ---- Verify install ----
RUN code-server --version
# ---- Workspace ----
WORKDIR /workspace
EXPOSE 7860
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]