Community maintained Docker config for the knot server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

avoid storing `apk` cache files

+2 -2
+2 -2
Dockerfile
··· 5 5 arg TAG='v1.12.0-alpha' 6 6 7 7 workdir /app 8 - run apk add git gcc musl-dev 8 + run apk add --no-cache git gcc musl-dev 9 9 run git clone -b ${TAG} https://tangled.org/@tangled.org/core . 10 10 run go build -o /usr/bin/knot -ldflags '-s -w -extldflags "-static"' ./cmd/knot 11 11 ··· 26 26 copy rootfs . 27 27 run chmod 755 /etc 28 28 run chmod -R 755 /etc/s6-overlay 29 - run apk add shadow s6-overlay execline openssl openssh git curl bash 29 + run apk add --no-cache shadow s6-overlay execline openssl openssh git curl bash 30 30 run groupadd -g $GID -f git 31 31 run useradd -u $UID -g $GID -d /home/git git 32 32 run openssl rand -hex 16 | passwd --stdin git