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_NAME = cubetiq/calpine-os-linux:3.13
|
||||||
DOCKER_IMAGE_VERSION = 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:
|
||||||
|
@ -14,5 +14,11 @@ update-ca-certificates
|
|||||||
/sbin/apk update
|
/sbin/apk update
|
||||||
/sbin/apk upgrade
|
/sbin/apk upgrade
|
||||||
|
|
||||||
# Add a standard user.
|
# Allow run sudo
|
||||||
adduser -D -u1000 cubetiq
|
/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