containers/syncthing (latest)

Published 2024-12-30 23:50:56 +00:00 by michael

Installation

docker pull code.balsillie.net/michael/containers/syncthing:latest
sha256:fd9df99c19c384ed5bc90e06c63dc169b3e49204c9fa2d6ddb835c74f09a31a1

Image Layers

ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG TARGETARCH=amd64
LABEL org.opencontainers.image.authors=The Syncthing Project org.opencontainers.image.url=https://syncthing.net org.opencontainers.image.documentation=https://docs.syncthing.net org.opencontainers.image.source=https://github.com/syncthing/syncthing org.opencontainers.image.vendor=The Syncthing Project org.opencontainers.image.licenses=MPL-2.0 org.opencontainers.image.title=Syncthing
EXPOSE map[21027/udp:{} 22000/tcp:{} 22000/udp:{} 8384/tcp:{}]
VOLUME [/var/syncthing]
RUN |1 TARGETARCH=amd64 /bin/sh -c apk add --no-cache ca-certificates curl libcap su-exec tzdata # buildkit
COPY /src/syncthing-linux-amd64 /bin/syncthing # buildkit
COPY /src/script/docker-entrypoint.sh /bin/entrypoint.sh # buildkit
ENV PUID=1000 PGID=1000 HOME=/var/syncthing
HEALTHCHECK &{["CMD-SHELL" "curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1"] "1m0s" "10s" "0s" "0s" '\x00'}
ENV STGUIADDRESS=0.0.0.0:8384
ENV STHOMEDIR=/var/syncthing/config
RUN |1 TARGETARCH=amd64 /bin/sh -c chmod 755 /bin/entrypoint.sh # buildkit
ENTRYPOINT ["/bin/entrypoint.sh" "/bin/syncthing"]
RUN /bin/sh -c adduser -u 1000 -H -D syncthing # buildkit
RUN /bin/sh -c mkdir -p /sync && chown syncthing:syncthing /sync # buildkit
RUN /bin/sh -c mkdir -p /config && chown syncthing:syncthing /config # buildkit
USER syncthing
VOLUME [/sync]
VOLUME [/config]
ENTRYPOINT ["/bin/syncthing"]
CMD ["serve" "--home=/config"]

Labels

Key Value
org.opencontainers.image.authors The Syncthing Project
org.opencontainers.image.documentation https://docs.syncthing.net
org.opencontainers.image.licenses MPL-2.0
org.opencontainers.image.revision 612fdff37766ee18a1443be82635156b2f085806
org.opencontainers.image.source https://github.com/syncthing/syncthing
org.opencontainers.image.title Syncthing
org.opencontainers.image.url https://syncthing.net
org.opencontainers.image.vendor The Syncthing Project
org.opencontainers.image.version 1.28.1
Details
Container
2024-12-30 23:50:56 +00:00
0
OCI / Docker
linux/amd64
The Syncthing Project
MPL-2.0
17 MiB
Versions (4) View all
2024-12-30_18-50-54 2024-12-30
latest 2024-12-30
2024-12-30_18-48-09 2024-12-30
2024-12-30_18-37-03 2024-12-30