Verified Commit 30d0b5b1 authored by hashworks's avatar hashworks
Browse files

Parametrize 'docker' command

Allows 'make image-base DOCKER=podman'

Originally from: Grzegorz Klimaszewski <2612193+grzegorzk@users.noreply.github.com>
https://github.com/archlinux/archlinux-docker/pull/38/files

Closes #51.
parent ff51588e
DOCKER=docker
BUILDDIR=$(shell pwd)/build
OUTPUTDIR=$(shell pwd)/output
......@@ -62,8 +63,8 @@ $(OUTPUTDIR)/Dockerfile.base-devel: $(OUTPUTDIR)/base-devel.tar.xz
.PHONY: docker-image-base
image-base: $(OUTPUTDIR)/Dockerfile.base
docker build -f $(OUTPUTDIR)/Dockerfile.base -t archlinux/archlinux:base $(OUTPUTDIR)
${DOCKER} build -f $(OUTPUTDIR)/Dockerfile.base -t archlinux/archlinux:base $(OUTPUTDIR)
.PHONY: docker-image-base-devel
image-base-devel: $(OUTPUTDIR)/Dockerfile.base-devel
docker build -f $(OUTPUTDIR)/Dockerfile.base-devel -t archlinux/archlinux:base-devel $(OUTPUTDIR)
${DOCKER} build -f $(OUTPUTDIR)/Dockerfile.base-devel -t archlinux/archlinux:base-devel $(OUTPUTDIR)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment