File size: 567 Bytes
5f5b560
 
 
70608b7
5f5b560
 
 
 
a7fe3ca
 
5f5b560
a7fe3ca
 
5f5b560
 
 
 
 
 
 
 
 
 
 
a2991cc
5f5b560
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive
ENV HOSTNAME=Nobita

# ------ Base packages (ONE shot, ONE layer) --------
RUN apt-get update && apt-get install -y -- no-install-recommends \
ca-certificates \
curt \
wget \
git \
sudo \
docker.io \
htop \
btop \
neovim k
Lsof \
qemu-system \
cloud-image-utils \
6& rm -rf /var/lib/apt/lists/*

# -*-. Install code-server -**.
RUN curl -fsSL https://code-server.dev/install.sh | sh

# ---- Workspace ------
WORKDIR /workspace

EXPOSE 7860

CMD ["code-server", " -- bind-addr", "0.0.0.0:7860", " -- auth", "none"]