Update to v1.8.0-alpha

bladee.bsky.social 9264d903 f7c6b630

verified
+1 -1
10-tangled.conf
···
Match User git
-
AuthorizedKeysCommand /usr/libexec/keyfetch -repoguard-path /usr/libexec/repoguard
+
AuthorizedKeysCommand /usr/libexec/knot keys -o authorized-keys
AuthorizedKeysCommandUser nobody
+2 -5
Containerfile
···
WORKDIR /core
ENV CGO_ENABLED=1
-
RUN go build -o knot ./cmd/knotserver && \
-
go build -o keyfetch ./cmd/keyfetch && \
-
go build -o repoguard ./cmd/repoguard
+
RUN git checkout v1.8.0-alpha && \
+
go build -o knot ./cmd/knot
FROM registry.fedoraproject.org/fedora:42 AS run
RUN dnf install --assumeyes git openssh-server && \
dnf clean all
-
COPY --from=build /core/keyfetch /usr/libexec/keyfetch
COPY --from=build /core/knot /usr/libexec/knot
-
COPY --from=build /core/repoguard /usr/libexec/repoguard
COPY ./10-tangled.conf /etc/ssh/sshd_config.d/10-tangled.conf
+1 -1
entrypoint.sh
···
/usr/sbin/sshd -D -h /keys/ssh_host_ed25519_key &
chown git:git /home/git
-
exec sudo -u git -E /usr/bin/sh -c "cd /home/git && /usr/libexec/knot \"$@\""
+
exec sudo -u git -E /usr/bin/sh -c "cd /home/git && /usr/libexec/knot server \"$@\""
+1 -1
knot.container
···
Environment=APPVIEW_ENDPOINT=https://tangled.sh
Environment=KNOT_REPO_SCAN_PATH=/home/git
Environment=KNOT_SERVER_HOSTNAME=
-
Environment=KNOT_SERVER_SECRET=
+
Environment=KNOT_SERVER_OWNER=
Environment=KNOT_SERVER_INTERNAL_LISTEN_ADDR=0.0.0.0:5444
Environment=KNOT_SERVER_LISTEN_ADDR=0.0.0.0:5555
PublishPort=0.0.0.0:10222:22/tcp