forked from wazuh/wazuh-docker
Add the build of Wazuh cert tool image to build image process
This commit is contained in:
@@ -71,6 +71,7 @@ build() {
|
|||||||
echo WAZUH_UI_REVISION=$WAZUH_UI_REVISION >> .env
|
echo WAZUH_UI_REVISION=$WAZUH_UI_REVISION >> .env
|
||||||
|
|
||||||
docker-compose -f build-docker-images/build-images.yml --env-file .env build --no-cache
|
docker-compose -f build-docker-images/build-images.yml --env-file .env build --no-cache
|
||||||
|
docker build -t wazuh/wazuh-cert-tool:$WAZUH_IMAGE_VERSION build-docker-images/cert-tool-image/
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2)
|
# Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2)
|
||||||
FROM ubuntu:focal
|
FROM amazonlinux:2023
|
||||||
|
|
||||||
RUN apt-get update && apt-get install openssl curl -y
|
RUN yum install curl-minimal openssl -y &&\
|
||||||
|
yum clean all
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# Certificate creation image build
|
|
||||||
|
|
||||||
The dockerfile hosted in this directory is used to build the image used to boot Wazuh's single node and multi node stacks.
|
|
||||||
|
|
||||||
To create the image, the following command must be executed:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ docker build -t wazuh/wazuh-certs-generator:0.0.1 .
|
|
||||||
```
|
|
||||||
@@ -3,8 +3,9 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
generator:
|
generator:
|
||||||
image: wazuh/wazuh-certs-generator:0.0.2
|
image: wazuh/wazuh-cert-tool:4.7.5
|
||||||
hostname: wazuh-certs-generator
|
hostname: wazuh-cert-tool
|
||||||
|
container_name: wazuh-cert-tool
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/wazuh_indexer_ssl_certs/:/certificates/
|
- ./config/wazuh_indexer_ssl_certs/:/certificates/
|
||||||
- ./config/certs.yml:/config/certs.yml
|
- ./config/certs.yml:/config/certs.yml
|
||||||
@@ -3,8 +3,9 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
generator:
|
generator:
|
||||||
image: wazuh/wazuh-certs-generator:0.0.2
|
image: wazuh/wazuh-cert-tool:5.0.0
|
||||||
hostname: wazuh-certs-generator
|
hostname: wazuh-cert-tool
|
||||||
|
container_name: wazuh-cert-tool
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/wazuh_indexer_ssl_certs/:/certificates/
|
- ./config/wazuh_indexer_ssl_certs/:/certificates/
|
||||||
- ./config/certs.yml:/config/certs.yml
|
- ./config/certs.yml:/config/certs.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user