From 0958ec354934b757290da48721d36c4dfd5fc53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Fri, 15 Mar 2024 13:10:39 +0100 Subject: [PATCH] Add bash to Docker dev image (#185) --- docker/dev/images/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/dev/images/Dockerfile b/docker/dev/images/Dockerfile index 111f661b8e225..df91e0319a699 100644 --- a/docker/dev/images/Dockerfile +++ b/docker/dev/images/Dockerfile @@ -7,11 +7,12 @@ RUN gradle clean FROM eclipse-temurin:17-jdk-alpine RUN apk add git && \ - apk add curl && \ - addgroup -g 1000 wazuh-indexer && \ - adduser -u 1000 -G wazuh-indexer -D -h /home/wazuh-indexer wazuh-indexer && \ - chmod 0775 /home/wazuh-indexer && \ - chown -R 1000:0 /home/wazuh-indexer + apk add curl && \ + apk add bash && \ + addgroup -g 1000 wazuh-indexer && \ + adduser -u 1000 -G wazuh-indexer -D -h /home/wazuh-indexer wazuh-indexer && \ + chmod 0775 /home/wazuh-indexer && \ + chown -R 1000:0 /home/wazuh-indexer USER wazuh-indexer COPY --from=builder --chown=1000:0 /home/wazuh-indexer /home/wazuh-indexer WORKDIR /home/wazuh-indexer