Updated image build
This commit is contained in:
parent
d579b0c106
commit
86ca4807b4
3
Makefile
3
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:
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user