Skip to content

Commit

Permalink
docker: move make
Browse files Browse the repository at this point in the history
The build folder had all the scripts, but given this is only a single
file now, it can be directly in docker folder
  • Loading branch information
darakeon committed Dec 8, 2022
1 parent e678151 commit 6659cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/build/Makefile → docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ netcore_push: netcore
@make push MACHINE=netcore

server:
@make single MACHINE=server CONTEXT=../..
@make single MACHINE=server CONTEXT=..

server_push: server
@make push MACHINE=server

single:
@echo "Building ${MACHINE}..."
@docker build ${CONTEXT} --pull --progress plain -f ../images/${MACHINE}.dockerfile -t darakeon/${MACHINE} --network=host
@docker build ${CONTEXT} --pull --progress plain -f images/${MACHINE}.dockerfile -t darakeon/${MACHINE} --network=host
@echo "${MACHINE} built!"

push:
Expand Down

0 comments on commit 6659cf3

Please sign in to comment.