From c34426ba3780566ed6e34fb9cacb803adc0698dd Mon Sep 17 00:00:00 2001 From: Brahim Hamdouni Date: Mon, 16 Nov 2020 15:34:01 +0100 Subject: [PATCH 1/3] Fix iconv bug (empty body when mail encoded in quoted-printable) --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index a243610..51fc413 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,11 @@ ENV HOME=/data # setup workdir WORKDIR /data COPY --from=deployer /data/upload upload + +# Fix iconv bug (empty body when mail encoded in quoted-printable) +RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing gnu-libiconv +ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php + RUN set -x && \ # requirements and PHP extensions apk add --no-cache --update \ From 2b408ce8bc479ba847db438d8e3d178caaf03217 Mon Sep 17 00:00:00 2001 From: Brahim Hamdouni Date: Mon, 7 Nov 2022 14:11:10 +0100 Subject: [PATCH 2/3] Upgrade to v1.14.8 + install libzip + delete unused lang --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 51fc413..185cf30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Deployment doesn't work on Alpine FROM php:7.3-cli AS deployer -ENV OSTICKET_VERSION=1.14.3 +ENV OSTICKET_VERSION=1.14.8 RUN set -x \ && apt-get update \ && apt-get install -y git-core \ @@ -39,6 +39,7 @@ RUN set -x && \ openldap \ libintl \ libxml2 \ + libzip-dev \ icu \ openssl && \ apk add --no-cache --virtual .build-deps \ @@ -53,7 +54,7 @@ RUN set -x && \ g++ \ make \ pcre-dev && \ - docker-php-ext-install gd curl ldap mysqli sockets gettext mbstring xml intl opcache && \ + docker-php-ext-install gd curl ldap mysqli sockets gettext mbstring xml intl opcache zip && \ docker-php-ext-configure imap --with-imap-ssl && \ docker-php-ext-install imap && \ pecl install apcu && docker-php-ext-enable apcu && \ @@ -61,11 +62,6 @@ RUN set -x && \ rm -rf /var/cache/apk/* && \ # Download languages packs wget -nv -O upload/include/i18n/fr.phar https://s3.amazonaws.com/downloads.osticket.com/lang/fr.phar && \ - wget -nv -O upload/include/i18n/ar.phar https://s3.amazonaws.com/downloads.osticket.com/lang/ar.phar && \ - wget -nv -O upload/include/i18n/pt_BR.phar https://s3.amazonaws.com/downloads.osticket.com/lang/pt_BR.phar && \ - wget -nv -O upload/include/i18n/it.phar https://s3.amazonaws.com/downloads.osticket.com/lang/it.phar && \ - wget -nv -O upload/include/i18n/es_ES.phar https://s3.amazonaws.com/downloads.osticket.com/lang/es_ES.phar && \ - wget -nv -O upload/include/i18n/de.phar https://s3.amazonaws.com/downloads.osticket.com/lang/de.phar && \ mv upload/include/i18n upload/include/i18n.dist && \ # Download LDAP plugin wget -nv -O upload/include/plugins/auth-ldap.phar https://s3.amazonaws.com/downloads.osticket.com/plugin/auth-ldap.phar && \ From ffae538ad1e4a8efe6020093f456a8314afc1d8f Mon Sep 17 00:00:00 2001 From: Brahim Hamdouni Date: Fri, 24 Nov 2023 12:32:32 +0100 Subject: [PATCH 3/3] Upgrade to v1.15.7 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 185cf30..9e78e74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Deployment doesn't work on Alpine FROM php:7.3-cli AS deployer -ENV OSTICKET_VERSION=1.14.8 +ENV OSTICKET_VERSION=1.15.7 RUN set -x \ && apt-get update \ && apt-get install -y git-core \ diff --git a/README.md b/README.md index 595faee..bb740e5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ docker-osticket # Introduction -Docker image for running version 1.14.3 of [OSTicket](http://osticket.com/). +Docker image for running version 1.15.7 of [OSTicket](http://osticket.com/). This image has been created from the original docker-osticket image by [Petter A. Helset](mailto:petter@helset.eu).