Skip to content

Commit

Permalink
fix: upgrade PHP again, mysql-client, update lock
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Nov 22, 2024
1 parent 3430c3f commit 79bd58d
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ RUN apk add --no-cache --update git \

# Stage 1:
# Build the actual container with all of the needed PHP dependencies that will run the application.
FROM --platform=$TARGETOS/$TARGETARCH php:8.2-fpm-alpine
FROM --platform=$TARGETOS/$TARGETARCH php:8.3-fpm-alpine
WORKDIR /app
COPY . ./
COPY --from=0 /app/public/assets ./public/assets
COPY --from=0 /app/public/build ./public/build
RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip nginx libpng-dev libxml2-dev libzip-dev certbot certbot-nginx \
RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip nginx libpng-dev libxml2-dev libzip-dev certbot certbot-nginx mysql-client \
&& docker-php-ext-configure zip \
&& docker-php-ext-install bcmath gd pdo_mysql zip \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@
},
"minimum-stability": "stable",
"prefer-stable": true
}
}
98 changes: 49 additions & 49 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vagrant/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dnf -y config-manager --add-repo https://download.docker.com/linux/centos/docker
dnf -y install redis
systemctl enable --now redis

# Install PHP 8.2 and configure PHP-FPM
dnf -y module enable php:remi-8.2
# Install PHP 8.3 and configure PHP-FPM
dnf -y module enable php:remi-8.3
dnf -y install php php-{cli,gd,mysqlnd,mbstring,bcmath,xml,fpm,curl,zip,posix}
cat >/etc/php-fpm.d/pterodactyl.conf <<EOF
[pterodactyl]
Expand Down

0 comments on commit 79bd58d

Please sign in to comment.