Skip to content

Commit 60a7de6

Browse files
authored
Integrate tools and update PHP base image to 8.5 (#6)
1 parent 410492b commit 60a7de6

2 files changed

Lines changed: 15 additions & 6 deletions

File tree

‎.github/workflows/multiarch-build.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Build images
1515
runs-on: ubuntu-24.04
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v7
1818

1919
- name: Install qemu dependency
2020
run: |
@@ -23,7 +23,7 @@ jobs:
2323
2424
- name: Buildah Action
2525
id: build-image
26-
uses: redhat-actions/buildah-build@v2
26+
uses: redhat-actions/buildah-build@v3
2727
with:
2828
image: php
2929
tags: latest
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Push To quay.io
3434
id: push-to-quay
35-
uses: redhat-actions/push-to-registry@v2
35+
uses: redhat-actions/push-to-registry@v3
3636
if: github.ref == 'refs/heads/master'
3737
with:
3838
image: ${{ steps.build-image.outputs.image }}

‎Containerfile‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
FROM docker.io/library/php:8.4-fpm
2-
RUN apt-get update && apt-get upgrade -y && apt-get autoclean
1+
FROM docker.io/library/php:8.5-fpm
2+
RUN apt-get update && \
3+
apt-get upgrade -y && \
4+
apt-get install -y \
5+
ffmpeg \
6+
libreoffice \
7+
imagemagick \
8+
--no-install-recommends \
9+
&& \
10+
apt-get clean && \
11+
rm -rf /var/lib/apt/lists/*
312

413
ADD --chmod=0755 \
5-
https://github.com/mlocati/docker-php-extension-installer/releases/download/2.9.0/install-php-extensions \
14+
https://github.com/mlocati/docker-php-extension-installer/releases/download/2.12.3/install-php-extensions \
615
/usr/local/bin/
716

817
RUN install-php-extensions \

0 commit comments

Comments
 (0)