-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_and_run_all.sh
22 lines (20 loc) · 1.71 KB
/
build_and_run_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
set -e errexit
docker build -t wesleyegberto/hello-app:openjdk-11 -f Dockerfile.openjdk_11 .
docker build -t wesleyegberto/hello-app:openj9-11 -f Dockerfile.openj9_11 .
docker build -t wesleyegberto/hello-app:openj9-11-tuned -f Dockerfile.openj9_11_tuned .
# docker build -t wesleyegberto/hello-app:openj9-11-unpacked -f Dockerfile.openj9_11_unpacked .
docker build -t wesleyegberto/hello-app:openj9-11-unpacked-lazy -f Dockerfile.openj9_11_unpacked_lazy .
docker build -t wesleyegberto/hello-app:graalvm-21 -f Dockerfile.graalvm_21 .
docker build -t wesleyegberto/hello-app:graalvm-native -f Dockerfile.graalvm_native .
docker build -t wesleyegberto/hello-app:ibm-semeru-21 -f Dockerfile.ibm_semeru_21 .
docker build -t wesleyegberto/hello-app:liberica-cds-21 -f Dockerfile.liberica_21_cds .
docker run -d --rm --cpus 1 --memory 512m --name openjdk-11 wesleyegberto/hello-app:openjdk-11
docker run -d --rm --cpus 1 --memory 512m --name openj9-11 wesleyegberto/hello-app:openj9-11
docker run -d --rm --cpus 1 --memory 512m --name openj9-11-tuned wesleyegberto/hello-app:openj9-11-tuned
# docker run -d --rm --cpus 1 --memory 512m --name openj9-11-unpacked wesleyegberto/hello-app:openj9-11-unpacked
docker run -d --rm --cpus 1 --memory 512m --name openj9-11-unpacked-lazy wesleyegberto/hello-app:openj9-11-unpacked-lazy
docker run -d --rm --cpus 1 --memory 512m --name graalvm-21 wesleyegberto/hello-app:graalvm-21
docker run -d --rm --cpus 1 --memory 512m --name graalvm-native wesleyegberto/hello-app:graalvm-native
docker run -d --rm --cpus 1 --memory 512m --name ibm-semeru-21 wesleyegberto/hello-app:ibm-semeru-21
docker run -d --rm --cpus 1 --memory 512m --name liberica-cds-21 wesleyegberto/hello-app:liberica-cds-21