encfs/drone-config/Dockerfile
Valient Gough f345450abd vendor tinyxml2 (#159)
* vendor tinyxml2 and switch to static build by default
* drop tinyxml2 from CI requirements
2016-04-24 21:33:15 -07:00

27 lines
629 B
Docker

# Pull from base Ubuntu image
FROM ubuntu
# Do system updates and install dependencies
RUN apt-get update
RUN apt-get -y upgrade
RUN sudo apt-get -y install git wget autopoint libfuse-dev
RUN apt-get clean
# Download Drone.io
RUN wget http://downloads.drone.io/master/drone.deb
RUN dpkg -i drone.deb
# Expose the Drone.io port
EXPOSE 8080
ENV DRONE_SERVER_PORT 0.0.0.0:8080
ENV DRONE_DATABASE_DATASOURCE /var/lib/drone/drone.sqlite
# Define our GitHub oAuth keys below
ENV DRONE_GITHUB_CLIENT <client key>
ENV DRONE_GITHUB_SECRET <secret>
# The command we'll be running when the container starts
CMD /usr/local/bin/droned