Loading docker/transfer_service/Dockerfile.bkpdeleted 100644 → 0 +0 −27 Original line number Diff line number Diff line FROM python:3 # Create a new user called transfer_service, create the home directory and set the default shell RUN useradd -m -s /bin/bash transfer_service # Set up a workdir for the container WORKDIR /home/transfer_service/ # Copy the source code of the server app COPY wait-for-it.sh *.py ./ RUN chown transfer_service wait-for-it.sh *.py && \ chmod 755 wait-for-it.sh *.py # Download, build and install xrootd with python bindings RUN apt-get update && apt-get install -y apt-utils build-essential sudo git cmake python3-dev python3-setuptools # Run commands as transfer_service user USER transfer_service RUN git clone https://github.com/xrootd/xrootd.git && \ cd xrootd && mkdir build && cd build && \ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/xrootd \ -DENABLE_PERL=FALSE && \ make && sudo make install # Install python dependencies RUN pip3 install --no-cache-dir pika redis No newline at end of file Loading
docker/transfer_service/Dockerfile.bkpdeleted 100644 → 0 +0 −27 Original line number Diff line number Diff line FROM python:3 # Create a new user called transfer_service, create the home directory and set the default shell RUN useradd -m -s /bin/bash transfer_service # Set up a workdir for the container WORKDIR /home/transfer_service/ # Copy the source code of the server app COPY wait-for-it.sh *.py ./ RUN chown transfer_service wait-for-it.sh *.py && \ chmod 755 wait-for-it.sh *.py # Download, build and install xrootd with python bindings RUN apt-get update && apt-get install -y apt-utils build-essential sudo git cmake python3-dev python3-setuptools # Run commands as transfer_service user USER transfer_service RUN git clone https://github.com/xrootd/xrootd.git && \ cd xrootd && mkdir build && cd build && \ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/xrootd \ -DENABLE_PERL=FALSE && \ make && sudo make install # Install python dependencies RUN pip3 install --no-cache-dir pika redis No newline at end of file