Update Dockerfile

This commit is contained in:
Alexandre authored and GitHub committed 2022-01-20 10:08:21 +01:00
1 parent 8cb4c90219
commit 26834bbe1e
1 file changed
+1
+1
View File
@@ -22,6 +22,7 @@ FROM elasticsearch:$BUILD_UPSTREAM
################## ##################
# Data persistence # Data persistence
# hadolint IGNORE=SC2016
RUN sed -i '5a echo "Data location moved. Please wait while elasticsearch starts..."' /usr/local/bin/docker-entrypoint.sh \ 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 chown -R $(id -u):$(id -g) $HOME' /usr/local/bin/docker-entrypoint.sh \
&& sed -i '5a done' /usr/local/bin/docker-entrypoint.sh \ && sed -i '5a done' /usr/local/bin/docker-entrypoint.sh \