Updated docker stuff

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2023-06-13 21:11:42 +02:00
parent 5cacb212e9
commit 3af085ab91
4 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,7 @@ COPY ${PACKAGE} /
RUN apt-get update && \ RUN apt-get update && \
apt-get -y --no-install-recommends install \ apt-get -y --no-install-recommends install \
wget rsyslog openssl sysstat php8.1-cli php8.1-cgi php8.1-mysql php8.1-fpm php8.1-zip php8.1-ldap \ wget openssl sysstat php8.1-cli php8.1-cgi php8.1-mysql php8.1-fpm php8.1-zip php8.1-ldap \
php8.1-gd php8.1-curl php8.1-xml php8.1-memcached catdoc unrtf poppler-utils nginx tnef sudo libzip4 \ php8.1-gd php8.1-curl php8.1-xml php8.1-memcached catdoc unrtf poppler-utils nginx tnef sudo libzip4 \
libtre5 cron libmariadb-dev mariadb-client-core-10.6 python3 python3-mysqldb ca-certificates curl && \ libtre5 cron libmariadb-dev mariadb-client-core-10.6 python3 python3-mysqldb ca-certificates curl && \
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb && \ wget https://repo.manticoresearch.com/manticore-repo.noarch.deb && \
@ -25,7 +25,6 @@ RUN apt-get update && \
apt-get install -y manticore manticore-columnar-lib && \ apt-get install -y manticore manticore-columnar-lib && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
sed -i 's/mail.[iwe].*//' /etc/rsyslog.conf && \
sed -i '/session required pam_loginuid.so/c\#session required pam_loginuid.so' /etc/pam.d/cron && \ sed -i '/session required pam_loginuid.so/c\#session required pam_loginuid.so' /etc/pam.d/cron && \
dpkg -i ${PACKAGE} && \ dpkg -i ${PACKAGE} && \
touch /etc/piler/MANTICORE && \ touch /etc/piler/MANTICORE && \

View File

@ -4,7 +4,7 @@ set -o errexit
set -o pipefail set -o pipefail
set -o nounset set -o nounset
IMAGE_NAME="sutoj/piler:1.3.12" IMAGE_NAME="sutoj/piler:1.4.4"
if [[ $# -ne 1 ]]; then echo "ERROR: missing package name" 1>&2; exit 1; fi if [[ $# -ne 1 ]]; then echo "ERROR: missing package name" 1>&2; exit 1; fi

View File

@ -35,7 +35,7 @@ services:
command: -m 64 command: -m 64
piler: piler:
image: sutoj/piler:1.4.2 image: sutoj/piler:1.4.4
container_name: piler container_name: piler
init: true init: true
environment: environment:
@ -53,6 +53,7 @@ services:
- piler_etc:/etc/piler - piler_etc:/etc/piler
- piler_var_store:/var/piler/store - piler_var_store:/var/piler/store
- piler_var_manticore:/var/piler/manticore - piler_var_manticore:/var/piler/manticore
- /dev/log:/dev/log
healthcheck: healthcheck:
test: curl -s smtp://localhost/ test: curl -s smtp://localhost/
interval: "60s" interval: "60s"

View File

@ -170,7 +170,6 @@ create_my_cnf_files() {
start_services() { start_services() {
rsyslogd
service cron start service cron start
service php8.1-fpm start service php8.1-fpm start
service nginx start service nginx start