PHP Memcached fix, odbc driver fix, 2025.09-1, new versions of everything
All checks were successful
Test build / build (push) Successful in 39m34s

This commit is contained in:
Adam Štrauch 2025-09-07 12:39:44 +02:00
parent fa14a1bf55
commit 9f8ffef2a6
Signed by: cx
GPG key ID: 7262DAFE292BCE20
5 changed files with 22 additions and 20 deletions

View file

@ -22,7 +22,7 @@ libcurl4-openssl-dev python3-dev libproj-dev gdal-bin libmemcached-dev swig mutt
ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
whiptail tmux rsync nmap libzip-dev libfreetype6-dev \
jpegoptim optipng pngquant gifsicle webp libvpx-dev libwebp-dev jq inotify-tools ripgrep \
wkhtmltopdf libzbar0 fzf \
wkhtmltopdf libzbar0 fzf cmake \
gnupg2 unixodbc-dev apt-transport-https libgssapi-krb5-2 # for MS SQL Server extension
# This is stange thing in Debian 12, it blocks installation of chromium
@ -51,23 +51,23 @@ ENV TERM xterm
# From https://nodejs.org/en/about/previous-releases
WORKDIR /usr/src
ADD build_node.sh /usr/local/bin/build_node.sh
RUN build_node.sh 20.19.4
RUN build_node.sh 22.17.1
RUN build_node.sh 20.19.5
RUN build_node.sh 22.19.0
RUN build_node.sh 23.11.1
RUN build_node.sh 24.4.1
RUN build_node.sh 24.7.0
## Python
# https://www.python.org/downloads/
WORKDIR /usr/src
ADD build_python.sh /usr/local/bin/build_python.sh
RUN build_python.sh 3.12.11
RUN build_python.sh 3.13.5
RUN build_python.sh 3.13.7
## PHP 8
# https://www.php.net/downloads.php
# https://www.php.net/supported-versions.php
ADD build_php8.sh /usr/local/bin/build_php8.sh
RUN build_php8.sh 8.3.23
RUN build_php8.sh 8.4.10
RUN build_php8.sh 8.3.25
RUN build_php8.sh 8.4.12
## Ruby
# https://www.ruby-lang.org/en/downloads/releases/
@ -80,12 +80,12 @@ RUN build_ruby.sh 3.4.5
# From: https://github.com/denoland/deno/releases
ADD build_deno.sh /usr/local/bin/build_deno.sh
# TODO: deno cannot run in parallel because it downloads filenames with the same name
RUN build_deno.sh 2.4.3
RUN build_deno.sh 2.4.5
# Bun
# From here: https://bun.sh/
ADD build_bun.sh /usr/local/bin/build_bun.sh
RUN build_bun.sh 1.2.19
RUN build_bun.sh 1.2.21
# OpenJDK
# From here: https://jdk.java.net/
@ -95,7 +95,7 @@ RUN build_openjdk.sh 24.0.2 fdc5d0102fe0414db21410ad5834341f 12
# Golang
# From here: https://go.dev/dl/
ADD build_golang.sh /usr/local/bin/build_golang.sh
RUN build_golang.sh 1.24.5
RUN build_golang.sh 1.25.1
#############
@ -113,7 +113,7 @@ RUN apt install -f xfonts-75dpi && \
# ODBC driver
# Updates: https://packages.microsoft.com/debian/12/prod/pool/main/m/msodbcsql18/
RUN wget https://packages.microsoft.com/debian/12/prod/pool/main/m/msodbcsql18/msodbcsql18_18.5.1.1-1_amd64.deb && \
dpkg -i msodbcsql18_18.5.1.1-1_amd64.deb; \
echo "yes" | dpkg -i msodbcsql18_18.5.1.1-1_amd64.deb; \
apt install -f -y && \
rm msodbcsql18_18.5.1.1-1_amd64.deb

View file

@ -5,7 +5,7 @@ version: '3'
vars:
REPO: harbor.hq.rosti.cz
REPO_PUBLIC: rosti/runtime
VERSION: 2025.08-1
VERSION: 2025.09-1
BASEIMAGE: debian:bookworm
tasks:

View file

@ -73,6 +73,7 @@ echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis
echo "no" | /opt/techs/php-$VERSION/bin/pecl install mongodb
echo "no" | /opt/techs/php-$VERSION/bin/pecl install sqlsrv
echo "no" | /opt/techs/php-$VERSION/bin/pecl install pdo_sqlsrv
echo "no" | /opt/techs/php-$VERSION/bin/pecl install memcached
export PATH=$PATH:/opt/techs/php-$VERSION/bin
composer.phar require ext-simplexml
@ -82,6 +83,7 @@ echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=mongodb.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=sqlsrv.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=pdo_sqlsrv.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=memcached.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
# Not supported yet
# https://github.com/Imagick/imagick/issues/358

View file

@ -3,14 +3,14 @@
. ~/.bashrc
# DEFAULT VERSIONS
VERSION_NODE="24.4.1"
VERSION_PYTHON="3.13.5"
VERSION_PHP="8.4.10"
VERSION_NODE="24.7.0"
VERSION_PYTHON="3.13.7"
VERSION_PHP="8.4.12"
VERSION_RUBY="3.4.5"
VERSION_DENO="2.4.3"
VERSION_BUN="1.2.19"
VERSION_DENO="2.4.5"
VERSION_BUN="1.2.21"
VERSION_OPENJDK="24.0.2"
VERSION_GOLANG="1.24.5"
VERSION_GOLANG="1.25.1"
WIDTH=180
HEIGHT=25

View file

@ -77,7 +77,7 @@ chown app:app /srv/conf/crontab
echo "Starting cron .."
/usr/sbin/cron
echo "Starting dropbear .."
dropbear -w -d /srv/conf/dropbear/dropbear_dss_host_key -r /srv/conf/dropbear/dropbear_rsa_host_key
dropbear -W 1048576 -w -d /srv/conf/dropbear/dropbear_dss_host_key -r /srv/conf/dropbear/dropbear_rsa_host_key
# BASHRC
if [ ! -e /srv/.bashrc ]; then