-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile.ubuntu
49 lines (40 loc) · 1.48 KB
/
Dockerfile.ubuntu
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
48
49
FROM ubuntu:noble
MAINTAINER David Donchez <david.donchez@gmail.com>
RUN apt-get update && apt-get -y install traceroute \
dnsutils \
ca-certificates \
apt-transport-https \
mtr-tiny \
iputils-ping \
netcat-openbsd \
wget \
curl \
gnupg \
bash \
htop \
tcpdump \
nmap \
iperf \
openssh-client \
jq \
postgresql-client \
mysql-client \
bind9-dnsutils \
redis \
vim \
oping \
sysbench \
strace
RUN curl -sS https://starship.rs/install.sh | sh -s -- -y
RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
RUN echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list
RUN curl -fsSL https://pgp.mongodb.com/server-7.0.asc | \
gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor
RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
RUN apt-get update ; apt-get install -y mongodb-mongosh mongodb-org-tools
RUN apt-get update --allow-insecure-repositories && apt-get install -y --allow-unauthenticated kubectl \
&& rm -rf /var/lib/apt/lists/*
COPY files/.bashrc /root/.bashrc
COPY files/starship.toml /root/.config/starship.toml
CMD ["sleep", "infinity"]