updated build script

This commit is contained in:
Sambo Chea 2021-03-26 11:02:54 +07:00
parent 86ca4807b4
commit 4cc9404a0b
2 changed files with 4 additions and 4 deletions

View File

@ -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
.PHONY: build

View File

@ -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
adduser -D -u1000 cubetiq wheel