-
-
Save austinhartzheim/89c587533e7739a61aaa348ded513579 to your computer and use it in GitHub Desktop.
Docker Development Environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:testing | |
RUN apt-get update && \ | |
echo "Installing base libraries" && \ | |
apt-get install -y build-essential libssl-dev man-db openssl pkg-config && \ | |
echo "Installing Rust CLI utilities" && \ | |
apt-get install -y bat exa fd-find hexyl ripgrep && \ | |
ln /usr/bin/batcat /usr/bin/bat && \ | |
echo "Installing other utilities" && \ | |
apt-get install -y \ | |
curl git htop iproute2 iputils-ping ipython3 procps screen tmux wget \ | |
hping3 netcat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM px-base:latest | |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
RUN /root/.cargo/bin/cargo install cargo-audit cargo-edit cargo-udeps simple-http-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM px-rust:latest | |
RUN apt-get install -y curl wget lsb-release wget software-properties-common gnupg gcc build-essential zlib1g-dev linux-headers-amd64 && \ | |
echo "Installing Kernel development dependencies" && \ | |
apt-get install -y bc bison flex libelf-dev | |
RUN wget https://apt.llvm.org/llvm.sh && \ | |
chmod +x llvm.sh && \ | |
./llvm.sh 11 | |
RUN /root/.cargo/bin/cargo install cargo-bpf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment