Loading base/Dockerfile +2 −2 Original line number Diff line number Diff line Loading @@ -10,8 +10,8 @@ FROM centos:7 # Install epel repo RUN yum update -y && yum -y install epel-release # Install make, nano, openssh, wget, rsync, cronie and sudo RUN yum -y install make nano openssh-clients wget rsync cronie sudo # Install make, nano, openssh, wget, rsync, and cronie RUN yum -y install make nano openssh-clients wget rsync cronie # Install python 3.9.7 RUN yum -y install gcc openssl-devel bzip2-devel libffi-devel zlib-devel && \ Loading docker-compose.yml +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ services: - backend_net stdin_open: true tty: true command: ["./wait-for-it.sh", "postgres:5432", "--timeout=30", "--", "sudo", "bash", "start.sh"] command: ["./wait-for-it.sh", "postgres:5432", "--timeout=30", "--", "bash", "start.sh"] client: image: git.ia2.inaf.it:5050/vospace/vospace-transfer-service/client build: ./client Loading transfer_service/Dockerfile +1 −6 Original line number Diff line number Diff line Loading @@ -7,10 +7,8 @@ # Use 'base' as base image FROM git.ia2.inaf.it:5050/vospace/vospace-transfer-service/base # Create a new user called transfer_service, create the home directory, set the default shell # and add it to /etc/sudoers # Create a new user called transfer_service, create the home directory and set the default shell RUN useradd -m -s /bin/bash transfer_service RUN echo "transfer_service ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers # Test users RUN useradd -m -s /bin/bash sonia.zorba Loading Loading @@ -65,8 +63,5 @@ RUN mkdir /home/cristiano.urban/store /home/cristiano.urban/retrieve && \ chmod -R 755 /home/sonia.zorba/store && \ chmod -R 755 /home/sonia.zorba/retrieve # Switch to 'transfer_service' user USER transfer_service # Run a shell CMD /bin/bash Loading
base/Dockerfile +2 −2 Original line number Diff line number Diff line Loading @@ -10,8 +10,8 @@ FROM centos:7 # Install epel repo RUN yum update -y && yum -y install epel-release # Install make, nano, openssh, wget, rsync, cronie and sudo RUN yum -y install make nano openssh-clients wget rsync cronie sudo # Install make, nano, openssh, wget, rsync, and cronie RUN yum -y install make nano openssh-clients wget rsync cronie # Install python 3.9.7 RUN yum -y install gcc openssl-devel bzip2-devel libffi-devel zlib-devel && \ Loading
docker-compose.yml +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ services: - backend_net stdin_open: true tty: true command: ["./wait-for-it.sh", "postgres:5432", "--timeout=30", "--", "sudo", "bash", "start.sh"] command: ["./wait-for-it.sh", "postgres:5432", "--timeout=30", "--", "bash", "start.sh"] client: image: git.ia2.inaf.it:5050/vospace/vospace-transfer-service/client build: ./client Loading
transfer_service/Dockerfile +1 −6 Original line number Diff line number Diff line Loading @@ -7,10 +7,8 @@ # Use 'base' as base image FROM git.ia2.inaf.it:5050/vospace/vospace-transfer-service/base # Create a new user called transfer_service, create the home directory, set the default shell # and add it to /etc/sudoers # Create a new user called transfer_service, create the home directory and set the default shell RUN useradd -m -s /bin/bash transfer_service RUN echo "transfer_service ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers # Test users RUN useradd -m -s /bin/bash sonia.zorba Loading Loading @@ -65,8 +63,5 @@ RUN mkdir /home/cristiano.urban/store /home/cristiano.urban/retrieve && \ chmod -R 755 /home/sonia.zorba/store && \ chmod -R 755 /home/sonia.zorba/retrieve # Switch to 'transfer_service' user USER transfer_service # Run a shell CMD /bin/bash