Merge pull request #10 from MattHardcastle/fix-text-file-busy

Split /tmp/bootstrap.sh chmod and exec commands
This commit is contained in:
2015-08-15 22:23:03 +01:00

View File

@@ -6,7 +6,8 @@ MAINTAINER Jim Myhrberg "contact@jimeh.me"
# We use a bootstrap script to avoid having temporary cache files and build
# dependencies being committed and included into the docker image.
ADD bootstrap.sh /tmp/
RUN chmod +x /tmp/bootstrap.sh && /tmp/bootstrap.sh
RUN chmod +x /tmp/bootstrap.sh
RUN /tmp/bootstrap.sh
RUN useradd znc
ADD start-znc /usr/local/bin/