vpp-swan: Add scripts for testing
[vpp.git] / extras / strongswan / vpp_sswan / docker / Dockerfile
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
26 COPY    / /root/vpp_sswan
27
28 RUN     ./init.sh