FROM alpine:3.7 LABEL org.label-schema.version=latest LABEL org.label-schema.vcs-url="https://github.com/appleboy/gorush.git" LABEL org.label-schema.name="Gorush" LABEL org.label-schema.vendor="Bo-Yi Wu" LABEL org.label-schema.schema-version="1.0" LABEL maintainer="Bo-Yi Wu " RUN apk add --no-cache ca-certificates && \ rm -rf /var/cache/apk/* ADD release/linux/amd64/gorush /bin/ EXPOSE 8088 9000 HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \ CMD ["/bin/gorush", "--ping"] ENTRYPOINT ["/bin/gorush"]