statping/Dockerfile

25 lines
629 B
Docker
Raw Normal View History

2018-06-24 07:38:50 +00:00
FROM alpine:latest
2018-06-24 08:18:59 +00:00
2018-07-05 01:57:09 +00:00
ENV VERSION=v0.29.5
2018-06-24 08:18:59 +00:00
2018-06-28 07:28:07 +00:00
RUN apk --no-cache add libstdc++ ca-certificates
2018-06-29 05:32:50 +00:00
RUN wget -q https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-alpine.tar.gz && \
2018-06-25 06:21:18 +00:00
tar -xvzf statup-linux-alpine.tar.gz && \
chmod +x statup && \
mv statup /usr/local/bin/statup
2018-06-28 07:28:07 +00:00
2018-06-29 05:32:50 +00:00
RUN wget -q https://assets.statup.io/sass && \
2018-06-28 07:28:07 +00:00
chmod +x sass && \
mv sass /usr/local/bin/sass
2018-06-29 00:01:43 +00:00
ENV IS_DOCKER=true
2018-06-28 23:28:55 +00:00
ENV SASS=/usr/local/bin/sass
2018-06-28 07:28:07 +00:00
ENV CMD_FILE=/usr/bin/cmd
2018-06-29 00:01:43 +00:00
2018-06-28 07:28:07 +00:00
RUN printf "#!/usr/bin/env sh\n\$1\n" > $CMD_FILE && \
chmod +x $CMD_FILE
2018-06-19 00:01:03 +00:00
WORKDIR /app
2018-06-24 08:18:59 +00:00
VOLUME /app
EXPOSE 8080
ENTRYPOINT statup