Added rust toolchain

This commit is contained in:
Afonso Franco 2022-11-20 15:08:52 +00:00
parent 6631fc95ed
commit 249cdf1dab
Signed by: afonso
GPG key ID: C459E0BB3DCEE899

View file

@ -24,9 +24,7 @@ RUN apt-get update && \
libc-dev \ libc-dev \
libev-dev \ libev-dev \
libreadline-dev \ libreadline-dev \
libtool \ libtool \ libtk-img \ make \
libtk-img \
make \
nftables \ nftables \
python3 \ python3 \
python3-pip \ 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 emane-1.2.7-release-1.ubuntu-20_04.amd64.tar.gz && \
rm -rf emane-1.2.7-release-1 rm -rf emane-1.2.7-release-1
CMD ["systemctl", "start", "core-daemon"] 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