-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
103 lines (75 loc) · 4.17 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
all: bullseye bookworm trixie focal jammy noble
stretch:
docker build -t vitexsoftware/debian:lts -t vitexsoftware/debian:stretch -f debian:stretch/Dockerfile debian:stretch/
buster:
docker build -t vitexsoftware/debian:buster -f debian:buster/Dockerfile debian:buster/
bullseye:
docker build -t vitexsoftware/debian:bullseye -f debian:bullseye/Dockerfile debian:bullseye/
bookworm:
docker build -t vitexsoftware/debian:bookworm -f debian:bookworm/Dockerfile debian:bookworm/
bionic:
docker build -t vitexsoftware/ubuntu:latest -t vitexsoftware/ubuntu:bionic -f ubuntu:bionic/Dockerfile ubuntu:bionic/
focal:
docker build -t vitexsoftware/ubuntu:latest -t vitexsoftware/ubuntu:focal -f ubuntu:focal/Dockerfile ubuntu:focal/
hirsute:
docker build -t vitexsoftware/ubuntu:hirsute -f ubuntu:hirsute/Dockerfile ubuntu:hirsute/
impish:
docker build -t vitexsoftware/ubuntu:impish -f ubuntu:impish/Dockerfile ubuntu:impish/
jammy:
docker build -t vitexsoftware/ubuntu:stable -t vitexsoftware/ubuntu:jammy -f ubuntu:jammy/Dockerfile ubuntu:jammy/
kinetic:
docker build -t vitexsoftware/ubuntu:stable -t vitexsoftware/ubuntu:kinetic -f ubuntu:kinetic/Dockerfile ubuntu:kinetic/
noble:
docker build -t vitexsoftware/ubuntu:noble -f ubuntu:noble/Dockerfile ubuntu:noble/
trixie:
docker build -t vitexsoftware/debian:unstable -t vitexsoftware/debian:trixie -f debian:trixie/Dockerfile debian:trixie/
update:
ansible-playbook
buildx-buster:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/debian:buster debian:buster
buildx-bullseye:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/debian:bullseye debian:bullseye
buildx-bookworm:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/debian:bookworm debian:bookworm
buildx-trixie:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/debian:trixie debian:trixie
buildx-focal:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/ubuntu:focal ubuntu:focal
buildx-hirsute:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/ubuntu:hirsute ubuntu:hirsute
buildx-impish:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/ubuntu:impish ubuntu:impish
buildx-jammy:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/ubuntu:jammy ubuntu:jammy
buildx-kinetic:
docker buildx build --push --platform linux/arm/v7,linux/amd64/v3,linux/arm64/v8 --tag vitexsoftware/ubuntu:kinetic ubuntu:kinetic
buildx-noble:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag vitexsoftware/ubuntu:noble ubuntu:noble
buildx: buildx-bullseye buildx-bookworm buildx-trixie buildx-focal buildx-jammy buildx-noble
clean:
docker system prune -a -f
docker rmi $$(docker images 'vitexsoftware/debian:buster' -a -q)
docker rmi $$(docker images 'vitexsoftware/debian:bullseye' -a -q)
docker rmi $$(docker images 'vitexsoftware/debian:bookworm' -a -q)
docker rmi $$(docker images 'vitexsoftware/debian:trixie' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:bionic' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:focal' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:hirsute' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:impish' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:jammy' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:kinetic' -a -q)
docker rmi $$(docker images 'vitexsoftware/ubuntu:noble' -a -q)
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
reset: clean all
push:
docker push vitexsoftware/debian:buster
docker push vitexsoftware/debian:bullseye
docker push vitexsoftware/debian:bookworm
docker push vitexsoftware/debian:trixie
docker push vitexsoftware/ubuntu:focal
docker push vitexsoftware/ubuntu:hirsute
docker push vitexsoftware/ubuntu:impish
docker push vitexsoftware/ubuntu:jammy
docker push vitexsoftware/ubuntu:kinetic
docker push vitexsoftware/ubuntu:noble
publish: all push