mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 16:03:34 +01:00
f345450abd
* vendor tinyxml2 and switch to static build by default * drop tinyxml2 from CI requirements
27 lines
629 B
Docker
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
|
|
|