Explorar o código

Fix building solr

I kept hitting an error when building solr `/bin/sh: /docker-entrypoint.sh: Text file busy`, this is caused where the script is attempted to be ran before the previous `chmod` command has properly sync'd to disk. Adding in a sync fixes this trouble for me.
Joshua Hesketh %!s(int64=6) %!d(string=hai) anos
pai
achega
1355e993dd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      data/Dockerfiles/solr/Dockerfile

+ 1 - 0
data/Dockerfiles/solr/Dockerfile

@@ -4,6 +4,7 @@ COPY docker-entrypoint.sh /
 
 RUN apk --no-cache add su-exec curl tzdata \
   && chmod +x /docker-entrypoint.sh \
+  && sync \
   && /docker-entrypoint.sh --bootstrap
 
 ENTRYPOINT ["/docker-entrypoint.sh"]