updates to core
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
FROM ubuntu:22.04
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ARG PACKAGE
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL description="piler ubuntu jammy image" \
|
||||
LABEL description="piler ubuntu noble image" \
|
||||
maintainer="Janos SUTO, sj@acts.hu" \
|
||||
package="${PACKAGE}"
|
||||
|
||||
ENV DEBIAN_FRONTEND="noninteractive" \
|
||||
DISTRO="jammy" \
|
||||
DISTRO="noble" \
|
||||
PILER_USER="piler" \
|
||||
MYSQL_DATABASE="piler"
|
||||
|
||||
COPY ${PACKAGE}_${TARGETARCH}.deb /
|
||||
COPY ${PACKAGE} /
|
||||
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update && \
|
||||
apt-get -y --no-install-recommends install \
|
||||
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 \
|
||||
libtre5 cron libmariadb-dev mariadb-client-core-10.6 python3 python3-mysqldb ca-certificates curl rsyslog && \
|
||||
wget openssl sysstat php8.3-cli php8.3-cgi php8.3-mysql php8.3-fpm php8.3-zip php8.3-ldap \
|
||||
php8.3-gd php8.3-curl php8.3-xml php8.3-memcached catdoc unrtf poppler-utils nginx tnef sudo libzip4 \
|
||||
libtre5 cron libmariadb-dev mariadb-client-core python3 python3-mysqldb ca-certificates curl rsyslog gnupg && \
|
||||
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb && \
|
||||
dpkg -i manticore-repo.noarch.deb && \
|
||||
rm -f manticore-repo.noarch.deb && \
|
||||
@@ -28,10 +28,10 @@ RUN apt-get update && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
sed -i '/session required pam_loginuid.so/c\#session required pam_loginuid.so' /etc/pam.d/cron && \
|
||||
dpkg -i ${PACKAGE}_${TARGETARCH}.deb && \
|
||||
dpkg -i ${PACKAGE} && \
|
||||
touch /etc/piler/MANTICORE && \
|
||||
ln -sf /etc/piler/piler-nginx.conf /etc/nginx/sites-enabled && \
|
||||
rm -f ${PACKAGE}_${TARGETARCH}.deb /etc/nginx/sites-enabled/default /etc/piler/piler.key /etc/piler/piler.pem /etc/piler/config-site.php && \
|
||||
rm -f ${PACKAGE}.deb /etc/nginx/sites-enabled/default /etc/piler/piler.key /etc/piler/piler.pem /etc/piler/config-site.php && \
|
||||
crontab -u $PILER_USER /usr/share/piler/piler.cron
|
||||
|
||||
VOLUME ["/etc/piler","/var/piler/store","/var/piler/manticore","/var/piler/imap","/var/piler/stat","/var/spool/cron/crontabs"]
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Piler Package
|
||||
|
||||
PILER_PACKAGE="piler_1.4.5-jammy-c13432f_amd64.deb"
|
||||
PILER_PACKAGE="piler_1.4.7-noble-874c0a6_amd64.deb"
|
||||
|
||||
# Piler Version
|
||||
|
||||
PILER_VERSION="1.4.5"
|
||||
PILER_VERSION="1.4.7"
|
||||
|
||||
# MariaDB Version
|
||||
|
||||
|
||||
@@ -22,13 +22,13 @@ chmod a+x start.sh
|
||||
rm -f $buildPth/*.deb
|
||||
|
||||
#curl -OL https://bitbucket.org/jsuto/piler/downloads/$PILER_PACKAGE
|
||||
wget https://bitbucket.org/jsuto/piler/downloads/$PILER_PACKAGE -O $PILER_PACKAGE
|
||||
wget https://github.com/jsuto/piler/releases/download/piler-$PILER_VERSION/$PILER_PACKAGE -O $PILER_PACKAGE
|
||||
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
set -o nounset
|
||||
|
||||
IMAGE_NAME="simatec/piler:$PILER_VERSION"
|
||||
IMAGE_NAME="servercow/piler:$PILER_VERSION"
|
||||
|
||||
if [ ! -f $buildPth/$PILER_PACKAGE ]; then
|
||||
echo "ERROR: missing package name" 1>&2; exit 1;
|
||||
|
||||
0
build/start.sh
Normal file → Executable file
0
build/start.sh
Normal file → Executable file
Reference in New Issue
Block a user