diff --git a/Makefile b/Makefile index 09c31c1..b364af3 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux:3.13 DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2) build: - $(shell ./src/build.sh) + ./src/build.sh @echo "Size of the image: ${DOCKER_IMAGE_SIZE}" -.PHONY: build \ No newline at end of file +.PHONY: build diff --git a/src/post-install.sh b/src/post-install.sh index 6f3f1b3..902f72f 100755 --- a/src/post-install.sh +++ b/src/post-install.sh @@ -18,7 +18,7 @@ update-ca-certificates /sbin/apk add sudo # Add wheel group -echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel +echo '%wheel ALL=NOPASSWD: ALL' > /etc/sudoers.d/wheel # Add an administrator user. -adduser -D -u1000 cubetiq wheel \ No newline at end of file +adduser -D -u1000 cubetiq wheel