mirror of https://github.com/statping/statping
docker images
parent
1a04f75aa7
commit
b07462734f
|
@ -4,17 +4,18 @@ MAINTAINER "Hunter Long (https://github.com/hunterlong)"
|
||||||
|
|
||||||
RUN apk add --no-cache libstdc++ gcc g++ make git ca-certificates linux-headers wget curl
|
RUN apk add --no-cache libstdc++ gcc g++ make git ca-certificates linux-headers wget curl
|
||||||
|
|
||||||
RUN curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep && \
|
RUN curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o /go/bin/dep && \
|
||||||
chmod +x $GOPATH/bin/dep && \
|
chmod +x /go/bin/dep
|
||||||
curl -L -s https://assets.statup.io/sass -o /usr/local/bin/sass && \
|
|
||||||
|
RUN curl -L -s https://assets.statup.io/sass -o /usr/local/bin/sass && \
|
||||||
chmod +x /usr/local/bin/sass
|
chmod +x /usr/local/bin/sass
|
||||||
|
|
||||||
|
WORKDIR /go/src/github.com/hunterlong/statup
|
||||||
|
ADD . /go/src/github.com/hunterlong/statup
|
||||||
|
|
||||||
ENV VERSION=$(VERSION)
|
ENV VERSION=$(VERSION)
|
||||||
ENV IS_DOCKER=true
|
ENV IS_DOCKER=true
|
||||||
|
|
||||||
WORKDIR $GOPATH/src/github.com/hunterlong/statup
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN make dev-deps && make install
|
RUN make dev-deps && make install
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT make run
|
ENTRYPOINT make run
|
|
@ -1,5 +1,5 @@
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
LABEL maintainer "Hunter Long (https://github.com/hunterlong)"
|
MAINTAINER "Hunter Long (https://github.com/hunterlong)"
|
||||||
|
|
||||||
# Locked version of Statup for 'latest' Docker tag
|
# Locked version of Statup for 'latest' Docker tag
|
||||||
ENV VERSION=v0.45
|
ENV VERSION=v0.45
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[{
|
|
||||||
"name": "Example Plugin",
|
|
||||||
"description": "An example of a plugin for Statup",
|
|
||||||
"repo": "https://github.com/hunterlong/statup_plugin",
|
|
||||||
"author": "Hunter Long",
|
|
||||||
"namespace": "example"
|
|
||||||
}]
|
|
Loading…
Reference in New Issue