-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
35 lines (28 loc) · 1.12 KB
/
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
clean ::
docker image rm alpine-make-gcc prantlf/alpine-make-gcc registry.gitlab.com/prantlf/docker-alpine-make-gcc
lint ::
docker run --rm -i \
-v "${PWD}"/.hadolint.yaml:/bin/hadolint.yaml \
-e XDG_CONFIG_HOME=/bin hadolint/hadolint \
< Dockerfile
build ::
docker build -t alpine-make-gcc .
docker tag alpine-make-gcc prantlf/alpine-make-gcc
docker tag alpine-make-gcc registry.gitlab.com/prantlf/docker-alpine-make-gcc
run ::
docker run --rm -it alpine-make-gcc busybox sh
login ::
docker login --username=prantlf
docker login registry.gitlab.com --username=prantlf
pull ::
docker pull prantlf/alpine-make-gcc
docker pull registry.gitlab.com/prantlf/docker-alpine-make-gcc
push ::
docker push prantlf/alpine-make-gcc
push ::
docker push prantlf/alpine-make-gcc
docker push registry.gitlab.com/prantlf/docker-alpine-make-gcc
docker tag prantlf/alpine-make-gcc prantlf/alpine-make-gcc:3.16
docker push prantlf/alpine-make-gcc:3.16
docker tag registry.gitlab.com/prantlf/docker-alpine-make-gcc registry.gitlab.com/prantlf/docker-alpine-make-gcc:3.16
docker push registry.gitlab.com/prantlf/docker-alpine-make-gcc:3.16