builds!
This commit is contained in:
94
Dockerfile
94
Dockerfile
@@ -3,57 +3,25 @@ FROM ubuntu:24.04
|
||||
# Disable interactive prompts during package installs
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# update system to latest
|
||||
# localize ubuntu mirror using geoip
|
||||
RUN apt-get update && apt-get install -y curl jq bash
|
||||
RUN curl -fsSL https://git.eeqj.de/sneak/ubuntulocal/raw/branch/main/updatemirror.sh | bash
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
# Install necessary packages
|
||||
RUN apt-get update && apt-get install -y \
|
||||
net-tools \
|
||||
iproute2 \
|
||||
traceroute \
|
||||
tcptraceroute \
|
||||
mtr \
|
||||
iputils-ping \
|
||||
iputils-tracepath \
|
||||
dnsutils \
|
||||
curl \
|
||||
wget \
|
||||
nmap \
|
||||
tcpdump \
|
||||
hping3 \
|
||||
ethtool \
|
||||
netcat-traditional \
|
||||
bridge-utils \
|
||||
arping \
|
||||
iftop \
|
||||
iptraf-ng \
|
||||
speedtest-cli \
|
||||
vlan \
|
||||
lsof \
|
||||
socat \
|
||||
vim \
|
||||
nano \
|
||||
python3 \
|
||||
python3-pip \
|
||||
golang-go \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
byobu \
|
||||
tmux \
|
||||
ninja-build \
|
||||
gettext \
|
||||
libtool \
|
||||
libtool-bin \
|
||||
autoconf \
|
||||
automake \
|
||||
cmake \
|
||||
g++ \
|
||||
pkg-config \
|
||||
unzip \
|
||||
doxygen \
|
||||
zsh \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
ADD 24.04.packages.txt /tmp/packages.txt
|
||||
|
||||
RUN apt-get update && apt-cache rdepends pcp
|
||||
|
||||
# Install necessary packages
|
||||
RUN apt-get update && for PKG in $(cat /tmp/packages.txt) ; do echo ===== installing $PKG ==== ; apt-get install -y $PKG ; done
|
||||
|
||||
RUN apt-get install -y \
|
||||
linux-tools-common \
|
||||
linux-tools-$(uname -r) \
|
||||
linux-tools-generic
|
||||
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
# ----------------------------
|
||||
# Install NVM, Node.js, and Yarn
|
||||
# ----------------------------
|
||||
@@ -76,52 +44,47 @@ ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
|
||||
ENV GOPATH=/usr/local/go
|
||||
ENV PATH=$PATH:$GOPATH/bin
|
||||
|
||||
# Install gotop v4.1.0 (Released on February 3, 2021)
|
||||
# Install gotop main as of 2025-03-29
|
||||
RUN git clone https://github.com/xxxserxxx/gotop.git && \
|
||||
cd gotop && \
|
||||
git checkout 66b6ce1 && \
|
||||
git checkout 06c04f588c74484c25c31f1b7ce07f9fa6b512fa && \
|
||||
go install && \
|
||||
cd .. && \
|
||||
rm -rf gotop
|
||||
|
||||
# Install ctop v0.7.6 (Released on June 10, 2021)
|
||||
# Install ctop main as of 2025-03-29
|
||||
RUN git clone https://github.com/bcicen/ctop.git && \
|
||||
cd ctop && \
|
||||
git checkout 8f0c9f5 && \
|
||||
git checkout 59f00dd6aaebf48f3bc501e174f75f815c2619f0 && \
|
||||
go install && \
|
||||
cd .. && \
|
||||
rm -rf ctop
|
||||
|
||||
# Install gping v1.2.3 (Released on October 15, 2022)
|
||||
RUN git clone https://github.com/orf/gping.git && \
|
||||
cd gping && \
|
||||
git checkout 4d2a5e5 && \
|
||||
go install && \
|
||||
cd .. && \
|
||||
rm -rf gping
|
||||
|
||||
# ----------------------------
|
||||
# Install Rust and Rust-based utilities (using commit hashes)
|
||||
# ----------------------------
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
|
||||
# Install bandwhich v0.20.0 (Released on March 15, 2023)
|
||||
# Install bandwhich main as of 2025-03-29
|
||||
RUN git clone https://github.com/imsnif/bandwhich.git && \
|
||||
cd bandwhich && \
|
||||
git checkout 9b5d3c1 && \
|
||||
git checkout 362aa89427df102615a9f92be2f4431498cc1253 && \
|
||||
cargo install --path . && \
|
||||
cd .. && \
|
||||
rm -rf bandwhich
|
||||
|
||||
# Install btm v0.8.1 (Released on May 20, 2023)
|
||||
# Install btm main as of 2025-03-29
|
||||
RUN git clone https://github.com/ClementTsang/bottom.git && \
|
||||
cd bottom && \
|
||||
git checkout 7c5c9e2 && \
|
||||
git checkout f8b8a21748d7b7a9298168328fad7b28cab65a12 && \
|
||||
cargo install --path . && \
|
||||
cd .. && \
|
||||
rm -rf bottom
|
||||
|
||||
# Install Python support for Neovim
|
||||
RUN pip3 install --break-system-packages pynvim
|
||||
|
||||
# ----------------------------
|
||||
# Install Neovim with Python3 support
|
||||
# ----------------------------
|
||||
@@ -133,9 +96,6 @@ RUN git clone https://github.com/neovim/neovim.git && \
|
||||
cd .. && \
|
||||
rm -rf neovim
|
||||
|
||||
# Install Python support for Neovim
|
||||
RUN pip3 install pynvim
|
||||
|
||||
# ----------------------------
|
||||
# Configure Neovim with GitHub Copilot and ChatGPT plugins
|
||||
# ----------------------------
|
||||
|
||||
Reference in New Issue
Block a user