updated build script
This commit is contained in:
parent
86ca4807b4
commit
4cc9404a0b
2
Makefile
2
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)
|
DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(shell ./src/build.sh)
|
./src/build.sh
|
||||||
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
|
@echo "Size of the image: ${DOCKER_IMAGE_SIZE}"
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
@ -18,7 +18,7 @@ update-ca-certificates
|
|||||||
/sbin/apk add sudo
|
/sbin/apk add sudo
|
||||||
|
|
||||||
# Add wheel group
|
# 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.
|
# Add an administrator user.
|
||||||
adduser -D -u1000 cubetiq wheel
|
adduser -D -u1000 cubetiq wheel
|
Loading…
Reference in New Issue
Block a user