Spaces:
Running
Running
DeFactOfficial
commited on
Update Dockerfile
Browse files- Dockerfile +13 -8
Dockerfile
CHANGED
@@ -1,19 +1,24 @@
|
|
1 |
-
#
|
2 |
-
FROM
|
3 |
|
4 |
-
#
|
5 |
-
|
|
|
|
|
6 |
RUN apt-get update && apt-get install -y \
|
7 |
-
nginx \
|
8 |
curl \
|
9 |
wget \
|
10 |
git \
|
|
|
11 |
net-tools \
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
14 |
&& apt-get clean \
|
15 |
&& rm -rf /var/lib/apt/lists/*
|
16 |
-
|
17 |
# Set home to the user's home directory
|
18 |
ENV HOME=/home/root \
|
19 |
PATH=/home/root/.local/bin:$PATH \
|
|
|
1 |
+
# Start with Ubuntu 24.04 (Noble)
|
2 |
+
FROM ubuntu:noble
|
3 |
|
4 |
+
# Avoid prompts from apt
|
5 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
6 |
+
|
7 |
+
# Install essential packages and tools
|
8 |
RUN apt-get update && apt-get install -y \
|
|
|
9 |
curl \
|
10 |
wget \
|
11 |
git \
|
12 |
+
nginx \
|
13 |
net-tools \
|
14 |
+
iputils-ping \
|
15 |
+
netcat \
|
16 |
+
traceroute \
|
17 |
+
dnsutils \
|
18 |
+
lsof \
|
19 |
&& apt-get clean \
|
20 |
&& rm -rf /var/lib/apt/lists/*
|
21 |
+
|
22 |
# Set home to the user's home directory
|
23 |
ENV HOME=/home/root \
|
24 |
PATH=/home/root/.local/bin:$PATH \
|