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