Skip to content

Commit

Permalink
patch: fix arch naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge07 committed Jul 21, 2023
1 parent a23b33c commit a9aa963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ DOCKER_RUN_DEV:=$(DOCKER_RUN)-dev
ARCHS?=linux/amd64

build:
docker buildx build --load --platform $(ARCHS) -t $(REPO):${VERSION} --target main -f ${VERSION}/Dockerfile ${VERSION}/
docker buildx build --load --platform $(ARCHS) -t $(REPO):${VERSION}-dev --target dev -f ${VERSION}/Dockerfile ${VERSION}/
docker buildx build --load --platform linux/amd64 -t $(REPO):${VERSION} --target main -f ${VERSION}/Dockerfile ${VERSION}/
docker buildx build --load --platform linux/amd64 -t $(REPO):${VERSION}-dev --target dev -f ${VERSION}/Dockerfile ${VERSION}/

run-detached:
docker run --name php${VERSION} -d -v $(PWD):/app $(REPO):${VERSION}
Expand Down

0 comments on commit a9aa963

Please sign in to comment.