diff --git a/Dockerfile b/Dockerfile index 7142dae..f705397 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ env CGO_ENABLED=1 arg TAG='v1.12.0-alpha' workdir /app -run apk add git gcc musl-dev +run apk add --no-cache git gcc musl-dev run git clone -b ${TAG} https://tangled.org/@tangled.org/core . run go build -o /usr/bin/knot -ldflags '-s -w -extldflags "-static"' ./cmd/knot @@ -26,7 +26,7 @@ arg GID=1000 copy rootfs . run chmod 755 /etc run chmod -R 755 /etc/s6-overlay -run apk add shadow s6-overlay execline openssl openssh git curl bash +run apk add --no-cache shadow s6-overlay execline openssl openssh git curl bash run groupadd -g $GID -f git run useradd -u $UID -g $GID -d /home/git git run openssl rand -hex 16 | passwd --stdin git