From b0a0d42d42b29444aa1df5ceb9e63d60ef28ef5e Mon Sep 17 00:00:00 2001 From: Jose M Date: Fri, 13 Sep 2019 15:04:50 +0200 Subject: [PATCH] Updated Wazuh Dockerfile to copy the new migration script --- wazuh/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wazuh/Dockerfile b/wazuh/Dockerfile index b1b2ea3c..f864eb7c 100644 --- a/wazuh/Dockerfile +++ b/wazuh/Dockerfile @@ -96,8 +96,13 @@ RUN mkdir /entrypoint-scripts COPY config/entrypoint.sh /entrypoint.sh COPY config/01-wazuh.sh /entrypoint-scripts/01-wazuh.sh +# Migration scripts +COPY migration/data_dirs.env /data_dirs.env +COPY migration/02-volume_loader.sh /entrypoint-scripts/02-volume_loader.sh + RUN chmod 755 /entrypoint.sh && \ - chmod 755 /entrypoint-scripts/01-wazuh.sh + chmod 755 /entrypoint-scripts/01-wazuh.sh && \ + chmod 755 /entrypoint-scripts/02-volume_loader.sh # Run all services ENTRYPOINT ["/entrypoint.sh"]