Gabriel Oginski | 9587577 | 2022-07-08 07:46:32 +0000 | [diff] [blame] | 1 | FROM jrei/systemd-ubuntu:20.04 |
| 2 | |
| 3 | # add proxy according your own network |
| 4 | #ENV http_proxy="" |
| 5 | #ENV https_proxy="" |
| 6 | #ENV no_proxy="" |
| 7 | |
| 8 | # update |
| 9 | RUN apt-get update |
| 10 | |
| 11 | # tools |
| 12 | RUN apt-get install -y git make wget libsystemd-dev |
| 13 | RUN apt-get install -y sudo gperf bison flex |
| 14 | RUN apt-get install -y iproute2 iputils-ping |
| 15 | |
| 16 | # setup env |
| 17 | WORKDIR /root |
| 18 | COPY ./docker/scripts/init_docker1.sh /root/ |
| 19 | COPY ./docker/scripts/init_docker2.sh /root/ |
| 20 | COPY ./docker/scripts/init.sh /root/ |
| 21 | COPY ./docker/scripts/run_vpp.sh /root/ |
| 22 | RUN chmod +x /root/init_docker1.sh |
| 23 | RUN chmod +x /root/init_docker2.sh |
| 24 | RUN chmod +x /root/init.sh |
| 25 | RUN chmod +x /root/run_vpp.sh |
Gabriel Oginski | 9587577 | 2022-07-08 07:46:32 +0000 | [diff] [blame] | 26 | |
| 27 | RUN ./init.sh |