Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
vs0uz4 authored Jan 3, 2025
2 parents ee66c1f + bcbd8b5 commit 61dbd98
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Docker

on:
pull_request:
push:
Expand All @@ -12,11 +11,14 @@ jobs:
strategy:
matrix:
include:
- php: 81
- alpine: '3.19'
php: 81
without-watchr: 1
- php: 82
- alpine: '3.20'
php: 82
without-watchr: ''
- php: 83
- alpine: '3.20'
php: 83
without-watchr: ''
steps:
-
Expand All @@ -41,6 +43,7 @@ jobs:
context: .
load: true
build-args: |
ALPINE=${{ matrix.alpine }}
PHP=${{ matrix.php }}
WITHOUT_WATCHR=${{ matrix.without-watchr }}
tags: opencodeco/phpctl:php${{ matrix.php }}
Expand All @@ -58,5 +61,7 @@ jobs:
with:
context: .
push: true
build-args: PHP=${{ matrix.php }}
build-args: |
ALPINE=${{ matrix.alpine }}
PHP=${{ matrix.php }}
tags: opencodeco/phpctl:php${{ matrix.php }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ALPINE=3.19
FROM alpine:${ALPINE}
ARG ALPINE=3.20
FROM alpine:$ALPINE

ARG PHP
ENV PHP_VERSION=$PHP
Expand Down
4 changes: 0 additions & 4 deletions rootfs/etc/apk/repositories

This file was deleted.

2 changes: 1 addition & 1 deletion rootfs/usr/local/bin/install-swoole
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
set -e

SWOOLE_VERSION="5.1.2"
SWOOLE_VERSION="5.1.4"
echo "Installing Swoole $SWOOLE_VERSION"

# Download
Expand Down
2 changes: 1 addition & 1 deletion src-devc/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV PHP_VERSION $PHP_VERSION
COPY rootfs /
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libcurl4-openssl-dev libc-ares-dev libsqlite3-dev libpq-dev git parallel unzip wget \
&& apt-get -y install --no-install-recommends libcurl4-openssl-dev libc-ares-dev libsqlite3-dev libpq-dev git parallel unzip wget libbrotli-dev \
&& mv /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini \
&& mv /etc/php/php.ini /usr/local/etc/php/conf.d/zzphp.ini \
&& install-php-extensions sockets && install-swoole && install-tools

0 comments on commit 61dbd98

Please sign in to comment.