FROM perforce/ubuntu20-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.ubuntu20.list /tmp RUN wget -qO /tmp/perforce.pubkey.raw https://package.perforce.com/perforce.pubkey RUN ls -l /tmp/perforce.pubkey.raw RUN gpg --dearmor < /tmp/perforce.pubkey.raw > /tmp/perforce.pubkey RUN ls -l /tmp/perforce.pubkey RUN sudo apt-key add < /tmp/perforce.pubkey RUN sudo cp -f /tmp/perforce.pubkey /usr/share/keyrings/perforce.gpg RUN ls -l /usr/share/keyrings/perforce.gpg RUN sudo cp -f /tmp/perforce.ubuntu20.list /etc/apt/sources.list.d/perforce.list RUN sudo ls -l /etc/apt/sources.list.d/perforce.list RUN sudo cat /etc/apt/sources.list.d/perforce.list RUN sudo apt-get update RUN sudo apt-get 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 | 27331 | C. Thomas Tyler |
Released SDP 2020.1.27325 (2021/01/29). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
//guest/perforce_software/sdp/dev/test/docker/Dockerfile.ubuntu20.sdp | |||||
#2 | 27141 | Robert Cowham | Get Ubuntu 20.04 tests working | ||
#1 | 27002 | C. Thomas Tyler |
Updated ubuntu tests to add needed utilities, and change from testing Ubuntu 16.04 to 20.04. Changed 'centos' to imply cento7 rather than centos6 (which we shoud drop soon). |
||
//guest/perforce_software/sdp/dev/test/docker/Dockerfile.ubuntu.sdp | |||||
#7 | 25263 | Robert Cowham |
Fix Centos permissions Fix ubuntu ssh |
||
#6 | 25259 | Robert Cowham | Fix Ubuntu user account in dockerfile | ||
#5 | 25258 | Robert Cowham |
Rework the containers in preparation for multi container testing mkrep changes: Remove -c cfg option which was unused anyway Converted tabs to spaces Fixed logic error causing forwarding replicas to bail due to unsupported p4d version Standby servers require ReplicatingFrom field Add seconds to log file name (useful for testing to avoid overwriting files) |
||
#4 | 19045 | Robert Cowham |
Add docker file for Centos7 Refactor to move common stuff to a shell script. |
||
#3 | 19040 | Robert Cowham |
Tweaks to Docker files. Ubuntu uses packages for Python 3.4. Centos doesn't yet. |
||
#2 | 19019 | Robert Cowham | Run ubuntu | ||
#1 | 19017 | Robert Cowham | Ubuntu basic docker working |