Fixed for new release and added rust
This commit is contained in:
parent
e5d6299f0a
commit
1851bd1df6
1 changed files with 37 additions and 2 deletions
|
@ -4,14 +4,46 @@ LABEL Description="CORE Docker Ubuntu Image"
|
||||||
|
|
||||||
# define variables
|
# define variables
|
||||||
ARG PREFIX=/usr/local
|
ARG PREFIX=/usr/local
|
||||||
ARG BRANCH=master
|
ARG BRANCH=docker-updates
|
||||||
|
|
||||||
# define environment
|
# define environment
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# install core
|
# install core
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y git sudo wget tzdata
|
apt-get install -y git sudo wget tzdata python3.10 \
|
||||||
|
curl \
|
||||||
|
xauth \
|
||||||
|
xterm \
|
||||||
|
vim \
|
||||||
|
nano \
|
||||||
|
wireshark \
|
||||||
|
firefox \
|
||||||
|
net-tools \
|
||||||
|
rsync \
|
||||||
|
openssh-server \
|
||||||
|
openssh-client \
|
||||||
|
vsftpd \
|
||||||
|
atftpd \
|
||||||
|
atftp \
|
||||||
|
mini-httpd \
|
||||||
|
lynx \
|
||||||
|
tcpdump \
|
||||||
|
wireshark \
|
||||||
|
iperf \
|
||||||
|
iperf3 \
|
||||||
|
tshark \
|
||||||
|
openssh-sftp-server \
|
||||||
|
bind9 \
|
||||||
|
bind9-utils \
|
||||||
|
openvpn \
|
||||||
|
isc-dhcp-server \
|
||||||
|
isc-dhcp-client \
|
||||||
|
whois \
|
||||||
|
ipcalc \
|
||||||
|
socat \
|
||||||
|
hping3
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN git clone https://github.com/coreemu/core
|
RUN git clone https://github.com/coreemu/core
|
||||||
WORKDIR /root/core
|
WORKDIR /root/core
|
||||||
|
@ -32,3 +64,6 @@ RUN . /root/.bashrc && inv install-emane -v -e v1.3.3
|
||||||
|
|
||||||
# run daemon
|
# run daemon
|
||||||
CMD ["core-daemon"]
|
CMD ["core-daemon"]
|
||||||
|
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \
|
||||||
|
echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
|
||||||
|
|
Loading…
Reference in a new issue