forked from Juniper/OpenJNPR-Container-vMX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (28 loc) · 915 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (c) 2018, Juniper Networks, Inc.
# All rights reserved.
all: up
build: bionic trusty
bionic: FORCE
docker build -f src/Dockerfile.bionic -t juniper/openjnpr-container-vmx:bionic src
trusty: FORCE
docker build -f src/Dockerfile.trusty -t juniper/openjnpr-container-vmx:trusty src
FORCE: ;
license-eval.txt:
curl -o license-eval.txt https://www.juniper.net/us/en/dm/free-vmx-trial/E421992502.txt
id_rsa.pub:
cp ~/.ssh/id_rsa.pub .
up: license-eval.txt id_rsa.pub
docker-compose up -d
regress: license-eval.txt id_rsa.pub regression/docker-compose.yml
docker-compose -f regression/docker-compose.yml up -d
regression/check.sh
ps:
docker-compose ps
docker-compose -f regression/docker-compose.yml ps
./getpass.sh
down:
docker-compose down
docker-compose -f regression/docker-compose.yml down
@rm -f images/p1.qcow2 && echo "removing images/p1.qcow2"
clean:
docker system prune -f