Loading transfer_service/Dockerfile +14 −10 Original line number Diff line number Diff line Loading @@ -30,20 +30,24 @@ RUN dnf -y install python3-pika python3-redis python3-psycopg2 python3-paramiko # Run commands as transfer_service user #USER transfer_service # Create a 'store' directory with a file RUN mkdir /home/transfer_service/store && touch /home/transfer_service/store/foo.txt && \ # Create a 'store' directory with some files for various users RUN mkdir /home/transfer_service/store && touch /home/transfer_service/store/foo1.txt && \ chown -R transfer_service:transfer_service /home/transfer_service/store && \ chmod -R 755 /home/transfer_service/store RUN mkdir /home/curban/store && echo "foo?!" > /home/curban/store/foo.txt && \ chmod -R 755 /home/transfer_service/store && \ mkdir /home/curban/store && echo "foo?!" > /home/curban/store/foo2.txt && \ mkdir /home/curban/store/mydir && \ echo "Another foo!" > /home/curban/store/mydir/another_foo.txt && \ echo "Another foo!" > /home/curban/store/mydir/another_foo2.txt && \ chown -R curban:curban /home/curban/store && \ chmod -R 755 /home/curban/store RUN mkdir /home/ccarbone/store && touch /home/ccarbone/store/foo.txt && \ chmod -R 755 /home/curban/store && \ mkdir /home/ccarbone/store && touch /home/ccarbone/store/foo3.txt && \ chown -R ccarbone:ccarbone /home/ccarbone/store && \ chmod -R 755 /home/ccarbone/store chmod -R 755 /home/ccarbone/store && \ mkdir /home/sbertocco/store && touch /home/sbertocco/store/foo4.txt && \ chown -R sbertocco:sbertocco /home/sbertocco/store && \ chmod -R 755 /home/sbertocco/store && \ mkdir /home/szorba/store && touch /home/szorba/store/foo5.txt && \ chown -R szorba:szorba /home/szorba/store && \ chmod -R 755 /home/szorba/store # Run a shell CMD /bin/bash No newline at end of file Loading
transfer_service/Dockerfile +14 −10 Original line number Diff line number Diff line Loading @@ -30,20 +30,24 @@ RUN dnf -y install python3-pika python3-redis python3-psycopg2 python3-paramiko # Run commands as transfer_service user #USER transfer_service # Create a 'store' directory with a file RUN mkdir /home/transfer_service/store && touch /home/transfer_service/store/foo.txt && \ # Create a 'store' directory with some files for various users RUN mkdir /home/transfer_service/store && touch /home/transfer_service/store/foo1.txt && \ chown -R transfer_service:transfer_service /home/transfer_service/store && \ chmod -R 755 /home/transfer_service/store RUN mkdir /home/curban/store && echo "foo?!" > /home/curban/store/foo.txt && \ chmod -R 755 /home/transfer_service/store && \ mkdir /home/curban/store && echo "foo?!" > /home/curban/store/foo2.txt && \ mkdir /home/curban/store/mydir && \ echo "Another foo!" > /home/curban/store/mydir/another_foo.txt && \ echo "Another foo!" > /home/curban/store/mydir/another_foo2.txt && \ chown -R curban:curban /home/curban/store && \ chmod -R 755 /home/curban/store RUN mkdir /home/ccarbone/store && touch /home/ccarbone/store/foo.txt && \ chmod -R 755 /home/curban/store && \ mkdir /home/ccarbone/store && touch /home/ccarbone/store/foo3.txt && \ chown -R ccarbone:ccarbone /home/ccarbone/store && \ chmod -R 755 /home/ccarbone/store chmod -R 755 /home/ccarbone/store && \ mkdir /home/sbertocco/store && touch /home/sbertocco/store/foo4.txt && \ chown -R sbertocco:sbertocco /home/sbertocco/store && \ chmod -R 755 /home/sbertocco/store && \ mkdir /home/szorba/store && touch /home/szorba/store/foo5.txt && \ chown -R szorba:szorba /home/szorba/store && \ chmod -R 755 /home/szorba/store # Run a shell CMD /bin/bash No newline at end of file