Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.3

FROM php:8.1-fpm-alpine3.16
FROM php:8.2-fpm-alpine3.18
RUN set -ex; \
\
export CFLAGS="-Os"; \
Expand All @@ -17,6 +17,7 @@ RUN set -ex; \
msmtp \
nginx \
openldap \
openssl \
runit \
; \
\
Expand All @@ -28,7 +29,9 @@ RUN set -ex; \
imap-dev \
libpng-dev \
libzip-dev \
linux-headers \
openldap-dev \
openssl-dev \
; \
\
# Install PHP extensions
Expand Down Expand Up @@ -61,8 +64,8 @@ RUN set -ex; \
rm -rf /tmp/pear /var/cache/apk/*
# DO NOT FORGET TO CHECK THE LANGUAGE PACK DOWNLOAD URL BELOW
# DO NOT FORGET TO UPDATE "image-version" FILE
ENV OSTICKET_VERSION=1.17.4 \
OSTICKET_SHA256SUM=59a08586e5af5b7235edd2c02bb7b55d80dabe2c54f7ed22754139147b87e881
ENV OSTICKET_VERSION=1.18 \
OSTICKET_SHA256SUM=c0c3ef4220b8709e1dbe12503294d412390e91d638e8c6d57ab8d8403c5753e1
RUN --mount=type=bind,source=utils/verify-plugin.php,target=/tmp/verify-plugin.php,readonly \
\
set -ex; \
Expand All @@ -84,8 +87,9 @@ v${OSTICKET_VERSION}/osTicket-v${OSTICKET_VERSION}.zip; \
for lang in bg bn bs ca cs da de el es_AR es_ES es_MX et eu fa fi fr gl he hi hr hu id is it \
ja ka km ko lt lv mk mn ms nl no pl pt_BR pt_PT ro ru sk sl sq sr sr_CS sv_SE sw th tr uk \
ur_IN ur_PK vi zh_CN zh_TW; do \
# This URL is the same as what is used by the official osTicket Downloads page. This URL is
# used even for minor versions >= 14.
# Language packs from https://s3.amazonaws.com/downloads.osticket.com/lang/1.17.x/ (used by
# the official osTicket Downloads page) cannot be authenticated. See:
# https://github.com/osTicket/osTicket/issues/6377
wget -q -O /var/www/html/include/i18n/${lang}.phar \
https://s3.amazonaws.com/downloads.osticket.com/lang/1.14.x/${lang}.phar; \
php /tmp/verify-plugin.php "/var/www/html/include/i18n/${lang}.phar"; \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ docker-osticket

# Introduction

Docker image for running version 1.17 of [osTicket](http://osticket.com/).
Docker image for running version 1.18 of [osTicket](http://osticket.com/).

**Important! If upgrading from images <1.17.0, read the upgrade instructions below, as images 1.17.0
and later have plugin-related breaking changes.**
Expand All @@ -22,7 +22,7 @@ It has a few modifications:
* EMail support

osTicket is being served by [nginx](http://wiki.nginx.org/Main) using
[PHP-FPM](http://php-fpm.org/) with PHP 8.1.
[PHP-FPM](http://php-fpm.org/) with PHP 8.2.
PHP [mail](http://php.net/manual/en/function.mail.php) function is configured to use
[msmtp](http://msmtp.sourceforge.net/) to send out-going messages.

Expand Down
2 changes: 1 addition & 1 deletion image-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.4
1.18.0