Skip to content

Commit 80cd450

Browse files
committed
add Perforce
1 parent 54fb2d2 commit 80cd450

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ RUN mvn help:evaluate -Dexpression=project.version -q -DforceStdout > /mvn/VERSI
4242
FROM tomcat:10.0-jdk11
4343
LABEL maintainer="https://github.com/oracle/opengrok"
4444

45+
# Add Perforce apt source.
46+
RUN apt-get update && \
47+
apt-get install -y gnupg2
48+
RUN curl -sS https://package.perforce.com/perforce.pubkey | gpg --dearmor > /etc/apt/trusted.gpg.d/perforce.gpg
49+
RUN echo 'deb http://package.perforce.com/apt/ubuntu bionic release' > /etc/apt/sources.list.d/perforce.list
50+
4551
# install dependencies and Python tools
4652
# hadolint ignore=DL3008,DL3009
4753
RUN apt-get update && \
48-
apt-get install --no-install-recommends -y git subversion mercurial cvs cssc bzr rcs rcs-blame \
54+
apt-get install --no-install-recommends -y git subversion mercurial cvs cssc bzr rcs rcs-blame helix-p4d \
4955
unzip inotify-tools python3 python3-pip \
5056
python3-venv python3-setuptools openssh-client
5157

docker/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ is doing, use the `docker logs` command.
4646

4747
- Bazaar
4848
- CVS
49-
- Mercurial
5049
- Git
51-
- Subversion
52-
- SCCS
50+
- Mercurial
51+
- Perforce
5352
- RCS
53+
- SCCS
54+
- Subversion
5455

5556
### Tags and versioning
5657

0 commit comments

Comments
 (0)