mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add drone
This commit is contained in:
parent
fb6534efa7
commit
9eaf1b2261
20
drone/Dockerfile
Normal file
20
drone/Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM google/golang
|
||||
ENV DRONE_SERVER_PORT :80
|
||||
|
||||
RUN apt-get update && apt-get -y install \
|
||||
libsqlite3-dev \
|
||||
sqlite3 \
|
||||
zip \
|
||||
--no-install-recommends
|
||||
|
||||
RUN git clone https://github.com/drone/drone.git /gopath/src/github.com/drone/drone
|
||||
|
||||
WORKDIR /gopath/src/github.com/drone/drone
|
||||
|
||||
RUN make deps build test embed install
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/droned"]
|
||||
|
||||
CMD ["--config=/etc/drone/drone.toml"]
|
Loading…
Reference in New Issue
Block a user