encfs/drone-config/Dockerfile

27 lines
629 B
Docker
Raw Normal View History

# 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