Updated to php 8.3

This commit is contained in:
Deon George 2024-01-21 21:48:17 +11:00
parent 232037d3ad
commit 74ffc27e6c
4 changed files with 6 additions and 27 deletions

View File

@ -6,7 +6,7 @@ stages:
variables: variables:
BRANCH: master BRANCH: master
VERSION: 8.1-fpm VERSION: 8.3-fpm
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
VERSIONARCH: ${VERSION}-${ARCH} VERSIONARCH: ${VERSION}-${ARCH}

View File

@ -1,7 +1,7 @@
# NAME leenooks/php # NAME leenooks/php
# VERSION 8.1-fpm-alpine # VERSION 8.3-fpm-alpine
FROM php:8.1-fpm-alpine FROM php:8.3-fpm-alpine
# Change to http respositories, so they we can cache the install packages # Change to http respositories, so they we can cache the install packages
RUN if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi RUN if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi
@ -14,7 +14,7 @@ RUN sed -i -e 's#^memory_limit = 128M#memory_limit = 256M#' /usr/local/etc/php/p
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /var/www/html -HD lamp RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /var/www/html -HD lamp
# Base # Base
RUN apk add --no-cache bash git unzip zlib nginx msmtp RUN apk add --no-cache bash unzip zlib nginx msmtp
RUN curl -SLo /usr/local/bin/wait-for-it https://github.com/vishnubob/wait-for-it/raw/master/wait-for-it.sh && chmod +x /usr/local/bin/wait-for-it RUN curl -SLo /usr/local/bin/wait-for-it https://github.com/vishnubob/wait-for-it/raw/master/wait-for-it.sh && chmod +x /usr/local/bin/wait-for-it
# Memcache # Memcache
@ -41,9 +41,6 @@ RUN apk add --no-cache libjpeg libgd libpng freetype freetype-dev zlib-dev libpn
RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
ENV COMPOSER_HOME=/var/cache/composer ENV COMPOSER_HOME=/var/cache/composer
# Add npm
RUN apk add --no-cache npm
# Other config # Other config
COPY msmtprc /etc/ COPY msmtprc /etc/
COPY docker/www.conf /usr/local/etc/php-fpm.d/ COPY docker/www.conf /usr/local/etc/php-fpm.d/

View File

@ -1,7 +1,7 @@
# NAME leenooks/php # NAME leenooks/php
# VERSION 8.1-fpm-test # VERSION 8.3-fpm-test
FROM registry.dege.au/leenooks/php:8.1-fpm FROM registry.dege.au/leenooks/php:8.3-fpm
# Add xdebug # Add xdebug
RUN apk --no-cache add linux-headers \ RUN apk --no-cache add linux-headers \

View File

@ -1,18 +0,0 @@
--- /etc/ssh/sshd_config.orig 2018-02-27 08:33:29.613104521 +0000
+++ /etc/ssh/sshd_config 2018-02-27 08:34:43.413485512 +0000
@@ -30,6 +30,7 @@
#LoginGraceTime 2m
#PermitRootLogin prohibit-password
+PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
@@ -54,6 +55,7 @@
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
+PasswordAuthentication no
#PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with