db: Make docker-entrypoint1.sh executable
The file should be marked as executable in the container because the host on which it was built may not support executable bit (e.g. Microsoft Windows). This fixes https://github.com/mattermost/mattermost-docker/issues/20.
This commit is contained in:
parent
c89c541c9a
commit
808f5af669
@ -12,6 +12,7 @@ RUN apt-get update \
|
|||||||
ADD make_db.sh /docker-entrypoint-initdb.d/
|
ADD make_db.sh /docker-entrypoint-initdb.d/
|
||||||
ADD setup-wale.sh /docker-entrypoint-initdb.d/
|
ADD setup-wale.sh /docker-entrypoint-initdb.d/
|
||||||
COPY docker-entrypoint1.sh /
|
COPY docker-entrypoint1.sh /
|
||||||
|
RUN chmod +x /docker-entrypoint1.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/docker-entrypoint1.sh"]
|
ENTRYPOINT ["/docker-entrypoint1.sh"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user