-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
20 lines (14 loc) · 928 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SHAREDIR=/usr/share/whalebuilder
DEBIAN_RELEASES=sid bookworm bullseye bullseye/backports buster buster/backports stretch \
experimental unstable testing stable stable/backports oldstable oldstable/backports
UBUNTU_RELEASES=kinetic jammy focal bionic
all: $(foreach d, $(DEBIAN_RELEASES), debian/$d/Dockerfile) $(foreach d, $(UBUNTU_RELEASES), ubuntu/$d/Dockerfile)
debian/%/backports/Dockerfile: $(SHAREDIR)/Dockerfile.base.erb
@mkdir -p debian/$*/backports
./make_dockerfile.rb --maintainer "Hubert Chathi <[email protected]>" -d debian -r $*-backports debian/$*/backports
debian/%/Dockerfile: $(SHAREDIR)/Dockerfile.base.erb
@mkdir -p debian/$*
./make_dockerfile.rb --maintainer "Hubert Chathi <[email protected]>" -d debian -r $* debian/$*
ubuntu/%/Dockerfile: $(SHAREDIR)/Dockerfile.base.erb
@mkdir -p ubuntu/$*
./make_dockerfile.rb --maintainer "Hubert Chathi <[email protected]>" -d ubuntu -r $* ubuntu/$*