A collection of Perforce docker images:
- Perforce Base, an image containing the official repo and the p4 client
- Perforce Server
- Perforce Swarm (not yet tested)
Note: P4Web and Proxy comes with a forked repo, didn't modify or test anything there yet.
- Updated to Perforce 2022.1
- Script contains extensive Unreal-specific tymemap, as explained in my community tutorial: Using and setting up Perforce repository
- Repository set to case insensitive, to avoid rare but cumbersome problems.
- Applied fix allowing to correctly map shared folder of Synology NAS to the Docker container.
The perforce server images are contained in their respective directories. Each server comes with an example 'run' target that you can use to get a server up and running quickly.
$ make -C perforce-server run
$ make -C
Using docker-compose it is much simpler to setup a working environment. Modify the
docker-compose.yml
and the supplied envfile
to customize your site. Once done,
run:
$ make
$ docker volume create --name=perforce
$ docker-compose up -d perforce # for p4d server
If you want to use a directory on your host to mount into your perforce container,
you'll need to modify the docker-compose.yml
file accordingly:
services:
perforce:
volumes:
/path/on/host:/data
- Obviously, most of the scripting comes from the forked Ambakshi repository
- Found it thanks to Froyok blog
- Typemap script found in Froyok's fork
- PUID/PGUID fixes (allowing to move server data to shared folder on Synology NAS) found in 7xanthus's fork