ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
COPY /usr/share/ca-certificates /usr/share/ca-certificates # buildkit |
COPY /etc/ssl/certs /etc/ssl/certs # buildkit |
COPY /redsunlib/target/x86_64-unknown-linux-musl/release/redsunlib /usr/local/bin/redsunlib # buildkit |
RUN /bin/sh -c adduser --home /nonexistent --no-create-home --disabled-password redsunlib # buildkit |
USER redsunlib |
EXPOSE map[8080/tcp:{}] |
HEALTHCHECK &{["CMD-SHELL" "wget --spider -q http://localhost:8080/settings || exit 1"] "1m0s" "3s" "0s" "0s" '\x00'} |
CMD ["redsunlib"] |