Update Dockerfile

This commit is contained in:
Alexandre
2022-01-20 10:08:21 +01:00
committed by GitHub
parent 8cb4c90219
commit 26834bbe1e

View File

@@ -22,6 +22,7 @@ FROM elasticsearch:$BUILD_UPSTREAM
##################
# Data persistence
# hadolint IGNORE=SC2016
RUN sed -i '5a echo "Data location moved. Please wait while elasticsearch starts..."' /usr/local/bin/docker-entrypoint.sh \
&& sed -i '5a chown -R $(id -u):$(id -g) $HOME' /usr/local/bin/docker-entrypoint.sh \
&& sed -i '5a done' /usr/local/bin/docker-entrypoint.sh \