Skip to content

Commit 12833f3

Browse files
committed
Upgrade to SimpleSAMLphp 2.0.2
* New SimpleSAMLphp version * Bumped to Rocky Linux 9 with no minor version tag * Also bumped to PHP 8.1.8 and HTTPD 2.4.53 * New SimpleSAMLphp comes with fewer modules To install modules, composer must be installed from the composer website. Additionally, php-intl and php-zip must be installed using dnf
1 parent 8017893 commit 12833f3

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM rockylinux/rockylinux:8.4 as download_ssp
1+
FROM rockylinux/rockylinux:9 as download_ssp
22

3-
ARG SIMPLE_SAML_PHP_VERSION=1.19.6
4-
ARG SIMPLE_SAML_PHP_HASH=834bb4a89d63d7498e77cceb49e01b919d1c0a6a3d38a992f905810dad424b7c
3+
ARG SIMPLE_SAML_PHP_VERSION=2.0.2
4+
ARG SIMPLE_SAML_PHP_HASH=ce974d387eba6e37dc502bd7fa7a5c7803f9572c59ac9c05cbc03b5fc0220838
55

66
RUN dnf install -y wget \
77
&& ssp_version=$SIMPLE_SAML_PHP_VERSION; \
@@ -12,22 +12,22 @@ RUN dnf install -y wget \
1212
&& tar xzf /simplesamlphp-$ssp_version.tar.gz \
1313
&& mv simplesamlphp-$ssp_version simplesamlphp
1414

15-
FROM rockylinux/rockylinux:8.4
15+
FROM rockylinux/rockylinux:9
1616

1717
LABEL maintainer="Unicon, Inc."
1818

19-
ARG PHP_VERSION=7.4.19
20-
ARG HTTPD_VERSION=2.4.37
19+
ARG PHP_VERSION=8.1.8
20+
ARG HTTPD_VERSION=2.4.53
2121

2222
COPY --from=download_ssp /var/simplesamlphp /var/simplesamlphp
2323

24-
RUN dnf module enable -y php:7.4 \
24+
RUN dnf module enable -y php:8.1 \
2525
&& dnf install -y httpd-$HTTPD_VERSION php-$PHP_VERSION \
2626
&& dnf clean all \
2727
&& rm -rf /var/cache/yum
2828

29-
RUN echo $'\nSetEnv SIMPLESAMLPHP_CONFIG_DIR /var/simplesamlphp/config\nAlias /simplesaml /var/simplesamlphp/www\n \
30-
<Directory /var/simplesamlphp/www>\n \
29+
RUN echo $'\nSetEnv SIMPLESAMLPHP_CONFIG_DIR /var/simplesamlphp/config\nAlias /simplesaml /var/simplesamlphp/public\n \
30+
<Directory /var/simplesamlphp/public>\n \
3131
Require all granted\n \
3232
</Directory>\n' \
3333
>> /etc/httpd/conf/httpd.conf

0 commit comments

Comments
 (0)