Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
When /home/botmaster/certs was not used as a volume then the bot couldn't create the directory because of permissions.
  • Loading branch information
Natenom committed Nov 1, 2018
1 parent 7e00c6b commit 05fba99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -30,7 +30,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update;\
##RUN test -f /usr/bin/ffmpeg || ln -s /usr/bin/avconv /usr/bin/ffmpeg

USER botmaster
RUN cd /home/botmaster/ && mkdir ~/src && mkdir ~/logs && mkdir ~/temp && mkdir -p ~/mpd1/playlists && \
RUN cd /home/botmaster/ && mkdir ~/certs && mkdir ~/src && mkdir ~/logs && mkdir ~/temp && mkdir -p ~/mpd1/playlists && \
/usr/bin/gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 ; sleep 3; \
/usr/bin/gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 ; \
curl -L https://get.rvm.io | bash -s stable && /bin/bash -c "source ~/.rvm/scripts/rvm && \
Expand Down

0 comments on commit 05fba99

Please sign in to comment.