Update Makefile

- Use variable for Container Runtime, defaults to podman
This commit is contained in:
Markus Opolka
2022-08-23 08:43:18 +02:00
parent d4072def38
commit 0ce040715c

View File

@@ -1,14 +1,16 @@
# .PHONY: apache fpm fpm-alpine # .PHONY: apache fpm fpm-alpine
RUNTIME = podman
apache-lts: apache-lts:
docker build --pull -t docker.io/martialblog/limesurvey:3-apache 3.0/apache $(RUNTIME) build --pull -t docker.io/martialblog/limesurvey:3-apache 3.0/apache
apache-latest: apache-latest:
docker build --pull -t docker.io/martialblog/limesurvey:5-apache 5.0/apache $(RUNTIME) build --pull -t docker.io/martialblog/limesurvey:5-apache 5.0/apache
fpm-alpine-lts: fpm-alpine-lts:
docker build --pull -t docker.io/martialblog/limesurvey:3-fpm-alpine 3.0/fpm-alpine $(RUNTIME) build --pull -t docker.io/martialblog/limesurvey:3-fpm-alpine 3.0/fpm-alpine
fpm-alpine-latest: fpm-alpine-latest:
docker build --pull -t docker.io/martialblog/limesurvey:5-fpm-alpine 5.0/fpm-alpine $(RUNTIME) build --pull -t docker.io/martialblog/limesurvey:5-fpm-alpine 5.0/fpm-alpine
fpm-lts: fpm-lts:
docker build --pull -t docker.io/martialblog/limesurvey:3-fpm 3.0/fpm $(RUNTIME) build --pull -t docker.io/martialblog/limesurvey:3-fpm 3.0/fpm
fpm-latest: fpm-latest:
docker build --pull -t docker.io/martialblog/limesurvey:5-fpm 5.0/fpm $(RUNTIME) build --pull -t docker.io/martialblog/limesurvey:5-fpm 5.0/fpm