diff --git a/Makefile b/Makefile index ef40244..09c31c1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -DOCKER_IMAGE_NAME = calpine-os-linux -DOCKER_IMAGE_VERSION = 3.13 +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: diff --git a/src/post-install.sh b/src/post-install.sh index be25f11..6f3f1b3 100755 --- a/src/post-install.sh +++ b/src/post-install.sh @@ -14,5 +14,11 @@ update-ca-certificates /sbin/apk update /sbin/apk upgrade -# Add a standard user. -adduser -D -u1000 cubetiq \ No newline at end of file +# Allow run sudo +/sbin/apk add sudo + +# Add wheel group +echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel + +# Add an administrator user. +adduser -D -u1000 cubetiq wheel \ No newline at end of file