This commit is contained in:
Zimovskii Anatolii 2022-08-02 14:57:28 +03:00
parent 3ec0a2276c
commit b65193c2b2
Signed by: stam
GPG Key ID: 9911D9EF664EEE14
77 changed files with 1871 additions and 228 deletions

View File

@ -1,5 +1,7 @@
## Changelog
### 2022
* `aug`:
* added basic support of perforce images. `p4p` already added. versions: `r16.2`, `r17.1`, `r17.2`, `r18.1`, `r18.2`, `r19.1`, `r19.2`, `r20.1`, `r20.2`, `r21.1`, `r21.2`, `r22.1`.
* `july`:
* splited `zabbix` versions from `3.0` to `6.4` and `latest`.
* `june`:

View File

@ -227,6 +227,7 @@ advanced-nextcloud-patched-images:
ecosystem-images:
make bundle-base-images
make buldle-perforce
make ecosystem-php-images
make ecosystem-apache2-images
make ecosystem-testrail-images
@ -348,6 +349,35 @@ ecosystem-debian-bookworm-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/jdk18 && pwd && make build && make deploy
ecosystem-perforce-base-images:
cd `pwd`/linux/ecosystem/perforce/base/r16.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r17.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r17.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r18.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r18.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r19.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r19.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r20.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r20.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r21.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r21.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/base/r22.1 && pwd && make build && make deploy
ecosystem-p4p-images:
cd `pwd`/linux/ecosystem/perforce/p4p/r16.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r17.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r17.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r18.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r18.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r19.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r19.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r20.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r20.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r21.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r21.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy
ecosystem-php-images:
cd `pwd`/linux/ecosystem/php/latest && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/php/php7.2 && pwd && make build && make deploy
@ -480,6 +510,13 @@ bundle-web:
make ecosystem-apache2-images
make ecosystem-nginx-images
buldle-perforce:
@echo "======================================="
@echo "===== Building Perforce images ====="
@echo "======================================="
make ecosystem-perforce-base-images
make ecosystem-p4p-images
echo-done:
@echo "======================================="
@echo "===== D O N E ====="

View File

@ -0,0 +1,80 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r16.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4FTPD_DOWNLOAD_URL=${P4_CDN_URL}/p4ftpd
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4FTPD_BIN=/usr/bin/p4ftpd
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4FTPD_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4FTPD_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4FTPD_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4FTPD_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r16.2"
build:
context: .

View File

@ -0,0 +1,80 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r17.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r17.1"
build:
context: .

View File

@ -0,0 +1,73 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r17.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r17.2"
build:
context: .

View File

@ -0,0 +1,73 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r18.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r18.1"
build:
context: .

View File

@ -0,0 +1,80 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r18.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r18.2"
build:
context: .

View File

@ -0,0 +1,87 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r19.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r19.1"
build:
context: .

View File

@ -0,0 +1,87 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r19.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r19.2"
build:
context: .

View File

@ -0,0 +1,87 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r20.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r20.1"
build:
context: .

View File

@ -0,0 +1,87 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r20.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r20.2"
build:
context: .

View File

@ -0,0 +1,94 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r21.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4MONPE_DOWNLOAD_URL=${P4_CDN_URL}/p4mon-prometheus-exporter
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4MONPE_BIN=/usr/bin/p4mon-prometheus-exporter
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4MONPE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4MONPE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4MONPE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4MONPE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r21.1"
build:
context: .

View File

@ -0,0 +1,94 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r21.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4MONPE_DOWNLOAD_URL=${P4_CDN_URL}/p4mon-prometheus-exporter
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4MONPE_BIN=/usr/bin/p4mon-prometheus-exporter
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4MONPE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4MIGRATE_DOWNLOAD_URL} \
${P4MONPE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4MIGRATE_BIN} \
${P4MONPE_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4MIGRATE_BIN} -V && \
echo "##################################################################" && \
${P4MONPE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r21.2"
build:
context: .

View File

@ -0,0 +1,94 @@
FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r22.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4MIGRATE_DOWNLOAD_URL=${P4_CDN_URL}/p4migrate
ENV P4MONPE_DOWNLOAD_URL=${P4_CDN_URL}/p4mon-prometheus-exporter
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4MIGRATE_BIN=/usr/bin/p4migrate
ENV P4MONPE_BIN=/usr/bin/p4mon-prometheus-exporter
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
# ${P4MIGRATE_BIN}
${P4MONPE_BIN} \
${P4P_BIN}
# ${PERFMERGE_BIN}
# ${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
# ${P4MIGRATE_DOWNLOAD_URL}
${P4MONPE_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL}
# ${PERFMERGE_DOWNLOAD_URL}
# ${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
# ${P4MIGRATE_BIN}
${P4MONPE_BIN} \
${P4P_BIN}
# ${PERFMERGE_BIN}
# ${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
# ${P4MIGRATE_BIN} -V && \
# echo "##################################################################" && \
${P4MONPE_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V
# echo "##################################################################" && \
# ${PERFMERGE_BIN} -V && \
# echo "##################################################################" && \
# ${PERFSPLIT_BIN} -V && \
# echo "##################################################################"
WORKDIR /perforce

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/perforce:r22.1"
build:
context: .

View File

@ -1,82 +1,7 @@
FROM epicmorg/debian:bullseye
FROM epicmorg/perforce:r16.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r16.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4FTPD_DOWNLOAD_URL=${P4_CDN_URL}/p4ftpd
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4FTPD_BIN=/usr/bin/p4ftpd
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4FTPD_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4FTPD_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4FTPD_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4FTPD_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce

View File

@ -1,82 +1,7 @@
FROM epicmorg/debian:bullseye
FROM epicmorg/perforce:r17.1
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r17.1
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
${P4DCTL_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
${P4DCTL_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
${P4DCTL_BIN} -V && \
echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce

View File

@ -1,82 +1,7 @@
FROM epicmorg/debian:bullseye
FROM epicmorg/perforce:r17.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce default envs
##################################################################
ENV P4_VERSION=r17.2
ENV P4_CDN_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64
ENV P4_DOWNLOAD_URL=${P4_CDN_URL}/p4
ENV P4BROKER_DOWNLOAD_URL=${P4_CDN_URL}/p4broker
ENV P4D_DOWNLOAD_URL=${P4_CDN_URL}/p4d
#ENV P4DCTL_DOWNLOAD_URL=${P4_CDN_URL}/p4dctl
ENV P4P_DOWNLOAD_URL=${P4_CDN_URL}/p4p
ENV PERFMERGE_DOWNLOAD_URL=${P4_CDN_URL}/perfmerge
ENV PERFSPLIT_DOWNLOAD_URL=${P4_CDN_URL}/perfsplit
ENV P4DEBUG=
ENV P4PROOT=
ENV P4PCACHE=/perforce/cache
ENV P4LOG=/perforce/logs/p4p.log
ENV P4TARGET=
ENV P4PORT=1666
ENV P4ARGS=
ENV P4_BIN=/usr/bin/p4
ENV P4BROKER_BIN=/usr/bin/p4broker
ENV P4D_BIN=/usr/bin/p4d
ENV P4DCTL_BIN=/usr/bin/p4dctl
ENV P4P_BIN=/usr/bin/p4p
ENV PERFMERGE_BIN=/usr/bin/perfmerge
ENV PERFSPLIT_BIN=/usr/bin/perfsplit
##################################################################
# Install perforce binaries
##################################################################
RUN rm -rfv \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
# ${P4DCTL_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin \
${P4_DOWNLOAD_URL} \
${P4BROKER_DOWNLOAD_URL} \
${P4D_DOWNLOAD_URL} \
# ${P4DCTL_DOWNLOAD_URL} \
${P4P_DOWNLOAD_URL} \
${PERFMERGE_DOWNLOAD_URL} \
${PERFSPLIT_DOWNLOAD_URL}
RUN chmod +x \
${P4_BIN} \
${P4BROKER_BIN} \
${P4D_BIN} \
# ${P4DCTL_BIN} \
${P4P_BIN} \
${PERFMERGE_BIN} \
${PERFSPLIT_BIN}
RUN echo "##################################################################" && \
${P4_BIN} -V && \
echo "##################################################################" && \
${P4BROKER_BIN} -V && \
echo "##################################################################" && \
${P4D_BIN} -V && \
echo "##################################################################" && \
# ${P4DCTL_BIN} -V && \
# echo "##################################################################" && \
${P4P_BIN} -V && \
echo "##################################################################" && \
${PERFMERGE_BIN} -V && \
echo "##################################################################" && \
${PERFSPLIT_BIN} -V && \
echo "##################################################################"
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r18.1
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r18.1"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r18.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r18.2"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r19.1
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r19.1"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r19.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r19.2"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r20.1
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r20.1"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r20.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r20.2"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r21.1
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r21.1"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r21.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r21.2"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}

View File

@ -0,0 +1,12 @@
FROM epicmorg/perforce:r22.1
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
VOLUME /perforce/cache
VOLUME /perforce/logs
WORKDIR /perforce
EXPOSE 1666
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/p4p:r22.1"
build:
context: .

View File

@ -0,0 +1,20 @@
#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}