Dockerfile #1

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

# Install Helix Versioning Engine (P4D)

RUN apt-get update && apt-get install -y perforce-server

ENV P4PORT 1666
ENV P4ROOT /opt/perforce/servers/docker
ENV P4LOG log

EXPOSE ${P4PORT}

RUN mkdir -p ${P4ROOT}
RUN chown perforce:perforce ${P4ROOT}
RUN usermod -u 1000 perforce

# Volumes for server.existing root

VOLUME ${P4ROOT}

USER perforce
# 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