# debian.sh --arch 'amd64' out/ 'stable' '@1738540800' |
ENV CONFIG_FILE_CONTENTS=[statistics]\ninterval = 5\nprint_to_stdout = true |
ENV ACCESS_LIST_CONTENTS= |
WORKDIR /etc/aquatic/ |
COPY /usr/src/aquatic/target/release/aquatic_udp /usr/local/bin/aquatic_udp # buildkit |
COPY <<EOT /usr/local/bin/entrypoint.sh # buildkit |
RUN /bin/sh -c mkdir -p /var/lib/aquatic && touch /var/lib/aquatic/whitelist && chmod 0666 /var/lib/aquatic/whitelist && chmod +x /usr/local/bin/entrypoint.sh # buildkit |
HEALTHCHECK &{["CMD-SHELL" "pidof aquatic_udp || exit 1"] "5s" "3s" "0s" "0s" '\x03'} |
ENTRYPOINT ["sh" "-c" "cd /etc/aquatic && /usr/local/bin/entrypoint.sh"] |