DeFactOfficial commited on
Commit
125f18f
·
verified ·
1 Parent(s): db88c10

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -8
Dockerfile CHANGED
@@ -1,19 +1,24 @@
1
- # Use HF's recommended base image
2
- FROM huggingface/docker-build:latest
3
 
4
- # Install system packages (using apt-get since we're still in a Debian-based environment)
5
- USER root
 
 
6
  RUN apt-get update && apt-get install -y \
7
- nginx \
8
  curl \
9
  wget \
10
  git \
 
11
  net-tools \
12
- python3 \
13
- python3-pip \
 
 
 
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 \