Compare commits

..

6 Commits

Author SHA1 Message Date
David Bomba
914bebebf6 Merge pull request #705 from turbo124/master
Working on php extension installer issue
2025-01-24 12:20:23 +11:00
David Bomba
e617f2d808 Working on php extension installer issue 2025-01-24 12:19:56 +11:00
David Bomba
3a4f138f6a Merge pull request #704 from turbo124/master
Fixes for yaml syntax
2025-01-24 11:51:00 +11:00
David Bomba
ce9ce4fd26 Fixes for yaml syntax 2025-01-24 11:50:35 +11:00
David Bomba
d01706a734 Merge pull request #703 from turbo124/master
Change the way we invoke install php extensions
2025-01-24 11:49:34 +11:00
David Bomba
00e54c9c23 Change the way we invoke install php extensions 2025-01-24 11:41:37 +11:00
2 changed files with 10 additions and 15 deletions

View File

@@ -21,19 +21,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Add swap space
run: |
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h
- name: Set MAKEFLAGS for parallel make jobs
run: |
export MAKEFLAGS="-j2"
echo "MAKEFLAGS set to: $MAKEFLAGS"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
@@ -66,5 +53,6 @@ jobs:
- name: Move cache
run: |
mkdir -p /tmp/.buildx-cache
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

View File

@@ -50,12 +50,19 @@ RUN set -eux; \
ttf-freefont \
ttf-dejavu
# Install PHP extensions
RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions \
${php_require} \
${php_suggest} \
${php_extra}
# Install PHP extensions
# RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
# ${php_require} \
# ${php_suggest} \
# ${php_extra}
# Copy files
COPY rootfs /