add empty drone.toml to satisfy drone startup requirements
This commit is contained in:
parent
d4bfd39713
commit
1eadd8ff98
1 changed files with 3 additions and 0 deletions
|
@ -6,12 +6,15 @@ WORKDIR $GOPATH/src/github.com/drone/drone
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/drone"]
|
ENTRYPOINT ["/usr/local/bin/drone"]
|
||||||
|
CMD ["-config", "/tmp/drone.toml"]
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y libsqlite3-dev \
|
&& apt-get install -y libsqlite3-dev \
|
||||||
&& git clone git://github.com/gin-gonic/gin.git $GOPATH/src/github.com/gin-gonic/gin \
|
&& git clone git://github.com/gin-gonic/gin.git $GOPATH/src/github.com/gin-gonic/gin \
|
||||||
&& go get -u github.com/jteeuwen/go-bindata/...
|
&& go get -u github.com/jteeuwen/go-bindata/...
|
||||||
|
|
||||||
|
RUN touch /tmp/drone.toml
|
||||||
|
|
||||||
ADD . .
|
ADD . .
|
||||||
RUN make bindata deps \
|
RUN make bindata deps \
|
||||||
&& make build \
|
&& make build \
|
||||||
|
|
Loading…
Reference in a new issue