Updated image build

This commit is contained in:
Sambo Chea 2021-03-26 10:31:24 +07:00
parent d579b0c106
commit 86ca4807b4
2 changed files with 9 additions and 4 deletions

View File

@ -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:

View File

@ -14,5 +14,11 @@ update-ca-certificates
/sbin/apk update
/sbin/apk upgrade
# Add a standard user.
adduser -D -u1000 cubetiq
# 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