knot (latest)

Published 2025-03-04 13:54:41 +00:00 by doesnm

Installation

docker pull git.0ut0f.space/doesnm/knot:latest
sha256:d8e956dc8400101b428c37fc7b47ff283d026e27d88e7bc59e90f9aeaa7c0947

Image layers

ADD alpine-minirootfs-20250108-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add openssh openrc --no-cache # buildkit
EXPOSE map[22/tcp:{}]
EXPOSE map[5555/tcp:{}]
COPY /core/server /bin/server # buildkit
COPY /core/keyfetch /bin/keyfetch # buildkit
RUN /bin/sh -c echo " Match User git AuthorizedKeysCommand /bin/keyfetch AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config # buildkit
RUN /bin/sh -c adduser -D -h /home/git -s /bin/nologin -u 1000 git # buildkit
USER git
RUN /bin/sh -c mkdir /home/git/repos # buildkit
COPY /core/repoguard /home/git/repoguard # buildkit
WORKDIR /home/git
ENV KNOT_REPO_SCAN_PATH=/home/git/repos
ENV APPVIEW_ENDPOINT=https://tangled.sh
ENV KNOT_SERVER_INTERNAL_LISTEN_ADDR=127.0.0.1:5444
ENV KNOT_SERVER_LISTEN_ADDR=0.0.0.0:5555
ENTRYPOINT ["/bin/server"]
Details
Container
2025-03-04 13:54:41 +00:00
0
OCI / Docker
linux/amd64
34 MiB
Versions (1) View all
latest 2025-03-04