From 249cdf1dabeeaff64ba6d10e6208ded450097a69 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Sun, 20 Nov 2022 15:08:52 +0000 Subject: [PATCH] Added rust toolchain --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14ab1835..49c271d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,7 @@ RUN apt-get update && \ libc-dev \ libev-dev \ libreadline-dev \ - libtool \ - libtk-img \ - make \ + libtool \ libtk-img \ make \ nftables \ python3 \ python3-pip \ @@ -135,3 +133,7 @@ RUN wget -q https://adjacentlink.com/downloads/emane/emane-1.2.7-release-1.ubunt rm emane-1.2.7-release-1.ubuntu-20_04.amd64.tar.gz && \ rm -rf emane-1.2.7-release-1 CMD ["systemctl", "start", "core-daemon"] + + +RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \ + echo 'source $HOME/.cargo/env' >> $HOME/.bashrc