Skip to content

Commit

Permalink
Use Unit Package for php84 unit
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze authored Jan 14, 2025
1 parent 09a366e commit 0129707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ RUN arch
RUN uname -m
RUN abuild -A
RUN abuild checksum && abuild -r
WORKDIR /workspace/aports/community/unit-php84
WORKDIR /workspace/aports/community/unit
# make phpver3 to be phpzts84
RUN sed -i -e 's/_phpver=84/_phpver=zts84/' APKBUILD
RUN sed -i -e 's/_phpver4=84/_phpver4=zts84/' APKBUILD
# make unit-php84 find the lphpzts84.so
# hadolint ignore=SC2016
RUN sed -i -e 's/.\/configure php --module=php\$_phpver/sed -i -e "s\/lphp\/lphpzts\/g" auto\/modules\/php \&\& .\/configure php --module=php\$_phpver/g' APKBUILD
RUN sed -i -e 's/.\/configure php --module=php\$_phpver4/sed -i -e "s\/lphp\/lphpzts\/g" auto\/modules\/php \&\& .\/configure php --module=php\$_phpver4/g' APKBUILD
RUN sed -i -e 's/_allow_fail=no/_allow_fail=yes/g' APKBUILD

RUN abuild checksum && abuild -r
Expand Down

0 comments on commit 0129707

Please sign in to comment.