-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (21 loc) · 785 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
clean ::
docker image rm node-git-chromium-java
lint ::
docker run --rm -i \
-v ${PWD}/.hadolint.yaml:/bin/hadolint.yaml \
-e XDG_CONFIG_HOME=/bin hadolint/hadolint \
< Dockerfile
build :: build8 build11
build8 ::
docker build --no-cache -t node-git-chromium-java -f Dockerfile.8 .
docker tag node-git-chromium-java prantlf/node-git-chromium-java:lts-alpine-java8
build11 ::
docker build --no-cache -t node-git-chromium-java -f Dockerfile.11 .
docker tag node-git-chromium-java prantlf/node-git-chromium-java:lts-alpine-openjdk
run ::
docker run --rm -t -i node-git-chromium-java busybox sh
login ::
docker login --username=prantlf
push ::
docker push prantlf/node-git-chromium-java:lts-alpine-java8
docker push prantlf/node-git-chromium-java:lts-alpine-openjdk