From 06a261ed0c04e6692b5a91e0ba92d2bafdb6c29f Mon Sep 17 00:00:00 2001 From: Mumshad Mannambeth Date: Wed, 12 Jul 2017 10:50:16 -0400 Subject: [PATCH] Create ansible-projects folder Update yas3fs startup in background --- Dockerfile | 2 ++ helpers/startup.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a61c9b9..c86c0e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,3 +92,5 @@ RUN apt-get update -q && apt-get install -y python-pip fuse \ RUN pip install yas3fs RUN sed -i'' 's/^# *user_allow_other/user_allow_other/' /etc/fuse.conf # uncomment user_allow_other RUN chmod a+r /etc/fuse.conf # make it readable by anybody, it is not the default on Ubuntu + +RUN mkdir -p /opt/ansible-projects diff --git a/helpers/startup.sh b/helpers/startup.sh index c9233b0..9d14b24 100644 --- a/helpers/startup.sh +++ b/helpers/startup.sh @@ -17,7 +17,7 @@ if [[ ${MOUNT_S3} = "True" ]]; echo -e "${COLOR_GREEN}-----------------------------------------------------" echo " Mounting Amazon S3 Bucket to /opt/ansible-projects" echo -e "-----------------------------------------------------${NC}" - yas3fs s3://${S3_PATH} /opt/ansible-projects -f + yas3fs s3://${S3_PATH} /opt/ansible-projects -f & fi echo -e "${COLOR_GREEN}-----------------------------------------------------"