Sign inSign up

epicmorg/p4p

By epicmorg

•Updated about 17 hours ago

Perforce Helix proxy (p4p) on Debian 13 trixie, one tag per release r16.2-r26.1

Image
0

5.0K

epicmorg/p4p repository overview

⁠epicmorg/p4p

The Perforce Helix proxy (p4p) as a container: built FROM epicmorg/perforce:<release>⁠ on Debian 13 trixie, runs p4p under tini and caches file content in front of a remote Helix server.

⁠What's inside

  • everything from epicmorg/perforce:<release> (the Helix binaries of that release);
  • entrypoint that execs p4p -p ${P4PORT} -r ${P4PCACHE} -t ${P4TARGET} -R ${P4PROOT} [-L ${P4LOG}] [-v ${P4DEBUG}] [-v proxy.monitor.level=${P4MONITOR_LEVEL}] [-v proxy.monitor.interval=${P4MONITOR_INTERVAL}] ${P4ARGS} <docker run args> (fails fast when P4TARGET is empty);
  • volumes /perforce/cache (file content), /perforce/root (the proxy's own db.*, P4PROOT) and /perforce/logs; port 1666; monitoring on by default (P4MONITOR_LEVEL=3, P4MONITOR_INTERVAL=10, empty = off).

⁠Tags

TagsDockerfile
r16.2r16.2⁠
r17.1r17.1⁠
r17.2r17.2⁠
r18.1r18.1⁠
r18.2r18.2⁠
r19.1r19.1⁠
r19.2r19.2⁠
r20.1r20.1⁠
r20.2r20.2⁠
r21.1r21.1⁠
r21.2r21.2⁠
r22.1r22.1⁠
r23.1r23.1⁠
r23.2r23.2⁠
r24.1r24.1⁠
r24.2r24.2⁠
r25.1r25.1⁠
r25.2r25.2⁠
r26.1r26.1⁠

Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/p4p:<tag> on each) - same digest everywhere.

⁠Usage

VariableDefaultMeaning
P4TARGET-upstream Helix server, e.g. ssl:perforce.example.com:1666 - required, the container exits without it
P4PORT1666port the proxy listens on
P4LOG/perforce/logs/p4p.logproxy log file
P4ARGS-extra p4p arguments
services:
  p4p:
    image: epicmorg/p4p:r24.2
    restart: unless-stopped
    environment:
      P4TARGET: "ssl:perforce.example.com:1666"
    ports:
      - "1666:1666"
    volumes:
      - p4p-cache:/perforce/cache
      - p4p-logs:/perforce/logs
volumes:
  p4p-cache:
  p4p-logs:

Clients then use the proxy as their P4PORT (p4 -p proxy-host:1666 ...).

⁠Notes

  • Use the same release as (or one supported by) your Helix server.

Tag summary

Content type

Image

Digest

sha256:635aab8c5…

Size

739.3 MB

Last updated

about 17 hours ago

docker pull epicmorg/p4p:r26.1