Update Dockerfile
Browse files- Dockerfile +16 -4
Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@ FROM ubuntu:22.04
|
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
|
| 5 |
-
# Install required packages
|
| 6 |
RUN apt update && apt upgrade -y && \
|
| 7 |
apt install -y \
|
| 8 |
sudo \
|
|
@@ -20,7 +20,20 @@ RUN apt update && apt upgrade -y && \
|
|
| 20 |
build-essential \
|
| 21 |
procps \
|
| 22 |
xz-utils \
|
| 23 |
-
net-tools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
# Clean up
|
| 26 |
RUN apt clean && rm -rf /var/lib/apt/lists/*
|
|
@@ -29,7 +42,7 @@ RUN apt clean && rm -rf /var/lib/apt/lists/*
|
|
| 29 |
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
| 30 |
apt install -y nodejs && npm install -g npm
|
| 31 |
|
| 32 |
-
# Install speedtest-cli
|
| 33 |
RUN pip3 install speedtest-cli
|
| 34 |
|
| 35 |
# Create user 'draco' with password and sudo rights
|
|
@@ -63,5 +76,4 @@ RUN chmod +x /home/draco/run_tmate.sh
|
|
| 63 |
|
| 64 |
EXPOSE 7860
|
| 65 |
|
| 66 |
-
# Start the tmate loop script in background and python http server on port 7860
|
| 67 |
CMD bash -c "/home/draco/run_tmate.sh & python3 -m http.server 7860"
|
|
|
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
|
| 5 |
+
# Install required packages including your requested extras
|
| 6 |
RUN apt update && apt upgrade -y && \
|
| 7 |
apt install -y \
|
| 8 |
sudo \
|
|
|
|
| 20 |
build-essential \
|
| 21 |
procps \
|
| 22 |
xz-utils \
|
| 23 |
+
net-tools \
|
| 24 |
+
make \
|
| 25 |
+
nano \
|
| 26 |
+
vim \
|
| 27 |
+
htop \
|
| 28 |
+
unzip \
|
| 29 |
+
zip \
|
| 30 |
+
iputils-ping \
|
| 31 |
+
tree \
|
| 32 |
+
lsof \
|
| 33 |
+
netcat \
|
| 34 |
+
tmux \
|
| 35 |
+
locales && \
|
| 36 |
+
locale-gen en_US.UTF-8
|
| 37 |
|
| 38 |
# Clean up
|
| 39 |
RUN apt clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
| 42 |
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
| 43 |
apt install -y nodejs && npm install -g npm
|
| 44 |
|
| 45 |
+
# Install speedtest-cli via pip
|
| 46 |
RUN pip3 install speedtest-cli
|
| 47 |
|
| 48 |
# Create user 'draco' with password and sudo rights
|
|
|
|
| 76 |
|
| 77 |
EXPOSE 7860
|
| 78 |
|
|
|
|
| 79 |
CMD bash -c "/home/draco/run_tmate.sh & python3 -m http.server 7860"
|