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 443 # Define environment variable ENV NAME gitfusion # Run gf.sh when the container launches CMD ["bash", "gf.sh"]
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#8 | 22775 | Jen Bottom | Installing wget at build time | ||
#7 | 22774 | Jen Bottom | Exposing port 443, so we can use https to push to the GF server | ||
#6 | 22771 | Jen Bottom | Adding the --no-cache option to the build command, as for now I don't want Docker to use the cached build steps | ||
#5 | 22743 | Jen Bottom | Exposing port 22 | ||
#4 | 22736 | Jen Bottom | Have a Docker file that now allows the machine to run and install the P4D/GF packages | ||
#3 | 22735 | Jen Bottom |
Changing docker user to root. Also installing wget using the gf.sh file, as it does not seem to be on this image |
||
#2 | 22717 | Jen Bottom | Adding some changes to the GF docker file, after doing some more reading and having a bit more understanding of what goes where | ||
#1 | 22716 | Jen Bottom | Starting work on a Docker image for Git Fusion |