forked from wazuh/wazuh-docker
Commands and dependencies adapted
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2)
|
||||
FROM ubuntu:jammy AS builder
|
||||
FROM amazonlinux:2023.3.20240131.0 AS builder
|
||||
|
||||
ARG WAZUH_VERSION
|
||||
ARG WAZUH_TAG_REVISION
|
||||
|
||||
RUN apt-get update -y && apt-get install curl openssl xz-utils -y
|
||||
RUN yum install curl-minimal openssl xz tar shadow-utils -y
|
||||
|
||||
COPY config/opensearch.yml /
|
||||
|
||||
@@ -27,15 +27,16 @@ RUN bash config.sh
|
||||
#
|
||||
# Copy wazuh-indexer from stage 0
|
||||
# Add entrypoint
|
||||
|
||||
################################################################################
|
||||
FROM ubuntu:jammy
|
||||
FROM amazonlinux:2023.3.20240131.0
|
||||
|
||||
ENV USER="wazuh-indexer" \
|
||||
GROUP="wazuh-indexer" \
|
||||
NAME="wazuh-indexer" \
|
||||
INSTALL_DIR="/usr/share/wazuh-indexer"
|
||||
|
||||
RUN apt-get update -y && apt-get install curl -y
|
||||
RUN yum install curl-minimal shadow-utils -y
|
||||
|
||||
RUN getent group $GROUP || groupadd -r -g 1000 $GROUP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user