Dockerfile #1

  • //
  • guest/
  • sven_erik_knop/
  • p4docker/
  • main/
  • swarm/
  • Dockerfile
  • View
  • Commits
  • Open Download .zip Download (455 B)
FROM sknop/perforce-base
MAINTAINER Sven Erik Knop <[email protected]>

# Install Helix Swarm 

RUN apt-get update && \
    apt-get install -y helix-swarm && \
    apt-get install -y helix-swarm-triggers

# Ensure environment variables are set up correctly

# Run shell script that does all the work
# -h is default, needs to have proper parameter to run against existing server

COPY SetupSwarm.py /

EXPOSE 80

ENTRYPOINT ["/SetupSwarm.py"]
CMD ["-h"]
# Change User Description Committed
#1 16517 Sven Erik Knop Basis for Docker images of Perforce Helix tools

   Contains

   Base - just apt-keys
   Server-Base - apt-get of helix package
   Server.new - new server within the docker image
   Server.existing - mount volume to existing server
   Swarm - Swarm instance pointing to (and configuring, if necessary) Helix instance