FROM perforce/rocky8-base MAINTAINER Robert Cowham "rcowham@perforce.com" ADD setup_container.sh /tmp RUN /bin/bash -x /tmp/setup_container.sh ADD insecure_ssh_key.pub /tmp ADD insecure_ssh_key /tmp ADD setup_ssh.sh /tmp RUN /bin/bash -x /tmp/setup_ssh.sh # For SSH EXPOSE 22 RUN echo "Setting default memory limit..." && \ sh -c 'echo memory.limit=2048m >> /etc/systemd/system.conf' # Recommend resource allocation at runtime CMD ["echo", "For optimal performance, consider running the container with --cpus=2 --memory=2g --storage-opt size=20G"] USER perforce ADD files/reset_sdp.sh /p4/ ADD files/docker_entry.sh /p4/ ADD files/test_sdp.sh /p4/ ADD files/test_mkrep.sh /p4/ # From package.perforce.com: ADD files/perforce.rhel8.repo /tmp RUN sudo rpm --import https://package.perforce.com/perforce.pubkey RUN sudo cp -f /tmp/perforce.rhel8.repo /etc/yum.repos.d/perforce.repo RUN sudo yum install -y perforce-p4python3 USER root CMD ["/p4/docker_entry.sh"]
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 30388 | C. Thomas Tyler |
Released SDP 2024.1.30385 (2024/06/11). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#2 | 28858 | C. Thomas Tyler |
Released SDP 2022.1.28855 (2022/05/27). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#1 | 28240 | C. Thomas Tyler |
Released SDP 2021.1.28238 (2021/11/12). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
//guest/perforce_software/sdp/dev/test/docker/Dockerfile.rocky8.sdp | |||||
#1 | 28137 | C. Thomas Tyler |
Added Rocky Linux 8 test image. Added 'all' argument to build on all OSes except unsupported ones ( e.g. CentOS 6). Added 'ALL' argument to build on all OSes, including unsupported ones. |