From be3c9ea9665432de45be575de0800415372074e7 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 13 Sep 2023 01:52:19 +0000 Subject: [PATCH] In this house we require root access to run docker commands. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4d174bf..611e8fa 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,7 @@ serve: hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/ build: - # TODO: figure out why this always uses the cache on the last step... - docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . + sudo docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . push: - docker push ${DOCKER_IMAGE}:${DOCKER_TAG} + sudo docker push ${DOCKER_IMAGE}:${DOCKER_TAG}