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 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 - https://package.perforce.com/perforce.pubkey | sudo apt-key add - RUN sudo cp -f /tmp/perforce.ubuntu20.list /etc/apt/sources.list.d/perforce.list RUN sudo apt-get -y update; \ apt install perforce-p4python3 USER root CMD ["/p4/docker_entry.sh"]
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 28844 | tom_tyler |
SDP Test Suite: Adjusted Docker image Python install to use perforce-p4python3 package from package.perforce.com. #review-28845 |
||
#2 | 27141 | robert_cowham | Get Ubuntu 20.04 tests working | ||
#1 | 27002 | tom_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 |