Official documents
•
install
•
post install
•
p4ctl
References
Perforce VCS
•
서버 - 클라이언트 구조로 구성
•
Server docker image
FROM ubuntu:focal
RUN apt update -y;
RUN apt autoremove -y;
RUN apt install wget -y;
RUN apt install gpg -y;
RUN apt install curl -y;
# install helix server
RUN mkdir -p /root/.gnupg
RUN wget https://package.perforce.com/perforce.pubkey -o /root/.gnupg/pubring.kbx;
RUN gpg -n --import --import-options import-show perforce.pubkey;
RUN gpg -n --import --import-options import-show perforce.pubkey | grep -q "E58131C0AEA7B082C6DC4C937123CB760FF18869" && echo "true";
RUN wget -qO - https://package.perforce.com/perforce.pubkey | apt-key add -;
RUN touch /etc/apt/sources.list.d/perforce.list;
RUN echo "deb http://package.perforce.com/apt/ubuntu focal release" > /etc/apt/sources.list.d/perforce.list;
RUN apt update -y;
RUN apt install helix-p4d -y;
EXPOSE 1666
ENTRYPOINT ["p4dctl"]
Docker
복사
•
docker-compose.yml
Docker
복사