diff options
author | Jakob Borg <jakob@kastelo.net> | 2022-10-02 08:50:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 08:50:27 +0200 |
commit | a206366d103d18b80a81427660deaafff35e5550 (patch) | |
tree | 56f715eaad0a0d067fe341f0d5cac0e8eae215a3 /Dockerfile | |
parent | 1e652de5af96ccec4a6b384933e50717d49c8e64 (diff) | |
download | syncthing-a206366d103d18b80a81427660deaafff35e5550.tar.gz syncthing-a206366d103d18b80a81427660deaafff35e5550.zip |
docker: Fix handling of PCAP variable (fixes #8567) (#8568)
This correctly handles the absense of the PCAP environment variable,
which was broken in the previous change.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 7c4913be6..d201c0811 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN apk add --no-cache ca-certificates su-exec tzdata libcap COPY --from=builder /src/syncthing /bin/syncthing COPY --from=builder /src/script/docker-entrypoint.sh /bin/entrypoint.sh -ENV PUID=1000 PGID=1000 HOME=/var/syncthing PCAP= +ENV PUID=1000 PGID=1000 HOME=/var/syncthing HEALTHCHECK --interval=1m --timeout=10s \ CMD nc -z 127.0.0.1 8384 || exit 1 |