2022-06-30 13:48:47 +00:00
|
|
|
FROM alpine:3.15.4@sha256:a777c9c66ba177ccfea23f2a216ff6721e78a662cd17019488c417135299cd89
|
2018-02-18 15:46:11 +00:00
|
|
|
|
|
|
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
|
|
|
org.label-schema.name="Gorush" \
|
|
|
|
org.label-schema.vendor="Bo-Yi Wu" \
|
|
|
|
org.label-schema.schema-version="1.0"
|
|
|
|
|
2022-06-30 13:48:47 +00:00
|
|
|
RUN apk add --no-cache ca-certificates mailcap && \
|
|
|
|
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
|
|
|
|
2019-03-16 03:37:01 +00:00
|
|
|
COPY release/linux/amd64/gorush /bin/
|
|
|
|
|
|
|
|
EXPOSE 8088 9000
|
2021-07-13 02:28:34 +00:00
|
|
|
HEALTHCHECK --start-period=1s --interval=10s --timeout=5s \
|
2019-03-16 03:37:01 +00:00
|
|
|
CMD ["/bin/gorush", "--ping"]
|
2018-03-17 15:07:38 +00:00
|
|
|
|
2019-03-16 03:37:01 +00:00
|
|
|
ENTRYPOINT ["/bin/gorush"]
|