There was an error while loading. Please reload this page.
1 parent 5f8c888 commit 5132414Copy full SHA for 5132414
Makefile
@@ -0,0 +1,19 @@
1
+
2
+init:
3
+git remote add upstream https://github.com/nginxinc/docker-nginx.git
4
5
+update:
6
+git fetch upstream
7
+git checkout master
8
+git merge upstream/master
9
10
+build:
11
+echo $(PW)| docker login -u 8ear --password-stdin
12
+docker build -f mainline/alpine/Dockerfile \
13
+-t 8ear/nginx:$(shell grep "ENV NGINX_VERSION" ./mainline/alpine/Dockerfile|cut -d ' ' -f 3)-alpine \
14
+-t 8ear/nginx:latest-alpine \
15
+-t 8ear/nginx:latest \
16
+./mainline/alpine/
17
+docker push 8ear/nginx:$(shell grep "ENV NGINX_VERSION" ./mainline/alpine/Dockerfile|cut -d ' ' -f 3)-alpine
18
+docker push 8ear/nginx:latest-alpine
19
+docker push 8ear/nginx:latest
0 commit comments