forked from baseimage/ubuntu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (44 loc) · 999 Bytes
/
Copy pathDockerfile
File metadata and controls
47 lines (44 loc) · 999 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update -qq \
&& apt install -qq --no-install-recommends -y \
curl \
wget \
net-tools \
tcpdump \
multitail \
git \
vim \
htop \
tmux \
rsync \
jq \
telnet \
make \
python3 \
python3-pip \
unzip \
build-essential \
nmap \
netcat-traditional \
iputils-ping \
dnsutils \
mysql-client \
postgresql-client \
redis-tools \
iproute2 \
socat \
bash-completion \
make \
build-essential \
openssh-server \
iputils-tracepath \
traceroute \
mtr \
&& apt autoremove \
&& apt clean \
&& mkdir -p /run/sshd \
&& curl -sS https://starship.rs/install.sh | sh -s -- -y -f \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]