Works in makefile.. why not in github?
This commit is contained in:
parent
8350db6975
commit
8dfeafeafc
2 changed files with 17 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM mariadb:latest
|
||||
FROM mariadb:10
|
||||
# Copy healthcheck file.
|
||||
COPY health.sh /usr/bin/healthcheck
|
||||
# Add healthcheck
|
||||
|
|
16
Makefile
Normal file
16
Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
CMD_BUILD=docker buildx build --push --platform linux/amd64,linux/arm64
|
||||
|
||||
.PHONY: prepare cli nginx all
|
||||
|
||||
all: cli prepare cli nginx
|
||||
|
||||
prepare:
|
||||
docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
|
||||
-docker buildx rm gone-builder
|
||||
docker buildx create --name gone-builder
|
||||
docker buildx use gone-builder
|
||||
docker buildx inspect --bootstrap
|
||||
|
||||
build: prepare
|
||||
$(CMD_BUILD) -t benzine/mariadb -t ghcr.io/benzine-framework/docker-mariadb .
|
||||
|
Loading…
Reference in a new issue