mirror of https://github.com/statping/statping
alpine libsass installation apk
parent
31b9fe4b9f
commit
d6867a89a3
|
@ -5,8 +5,6 @@ ENV DEP_VERSION v0.5.0
|
||||||
RUN apk add --no-cache libstdc++ gcc g++ make git ca-certificates linux-headers wget curl jq
|
RUN apk add --no-cache libstdc++ gcc g++ make git ca-certificates linux-headers wget curl jq
|
||||||
RUN curl -L -s https://github.com/golang/dep/releases/download/$DEP_VERSION/dep-linux-amd64 -o /go/bin/dep && \
|
RUN curl -L -s https://github.com/golang/dep/releases/download/$DEP_VERSION/dep-linux-amd64 -o /go/bin/dep && \
|
||||||
chmod +x /go/bin/dep
|
chmod +x /go/bin/dep
|
||||||
RUN curl -L -s https://assets.statping.com/sass -o /usr/local/bin/sass && \
|
|
||||||
chmod +x /usr/local/bin/sass
|
|
||||||
WORKDIR /go/src/github.com/hunterlong/statping
|
WORKDIR /go/src/github.com/hunterlong/statping
|
||||||
ADD . /go/src/github.com/hunterlong/statping
|
ADD . /go/src/github.com/hunterlong/statping
|
||||||
RUN make dep && \
|
RUN make dep && \
|
||||||
|
@ -21,9 +19,8 @@ ARG VERSION
|
||||||
ENV IS_DOCKER=true
|
ENV IS_DOCKER=true
|
||||||
ENV STATPING_DIR=/app
|
ENV STATPING_DIR=/app
|
||||||
ENV PORT=8080
|
ENV PORT=8080
|
||||||
RUN apk --no-cache add curl jq
|
RUN apk --no-cache add curl jq libsass
|
||||||
|
|
||||||
COPY --from=base /usr/local/bin/sass /usr/local/bin/sass
|
|
||||||
COPY --from=base /go/bin/statping /usr/local/bin/statping
|
COPY --from=base /go/bin/statping /usr/local/bin/statping
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
Loading…
Reference in New Issue