FROM ubuntu:trusty #Install some packages that we need to get started RUN apt-get update && apt-get install -qq -y wget ENV INSTALL_PATH /app RUN mkdir -p /app # Setting WORKDIR and USER USER root WORKDIR $INSTALL_PATH # Copy the current directory contents into the container at /app ADD . /app # Make port 80 available to the world outside this container EXPOSE 80 22 # Define environment variable ENV NAME gitfusion # Run gf.sh when the container launches CMD ["bash", "gf.sh"]