Skip to content

Commit

Permalink
Merge pull request #525 from elfosardo/reshape-makefile
Browse files Browse the repository at this point in the history
🌱 Update Makefile
  • Loading branch information
metal3-io-bot authored Jun 24, 2024
2 parents 4731ff8 + 10d94ac commit 720a070
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
.PHONY: help
SHELL=/usr/bin/env bash -o errexit

.PHONY: help build

export CONTAINER_ENGINE ?= podman

help:
@echo "Targets:"
@echo " docker -- build the docker image"
@echo " build -- build the docker image"

build:
$(CONTAINER_ENGINE) build . -f Dockerfile

.PHONY: docker
docker:
docker build . -f Dockerfile

0 comments on commit 720a070

Please sign in to comment.