Skip to content

Commit

Permalink
Build only phpzts84-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze committed Jan 14, 2025
1 parent d992921 commit aaa6a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ignored:
- DL3018 # warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
- DL3059 # info: Multiple consecutive `RUN` instructions. Consider consolidation.
- SC2086 # info: Double quote to prevent globbing and word splitting.
- SC2016 # info: Expressions don't expand in single quotes, use double quotes for that.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ WORKDIR /workspace/aports/community/unit
RUN sed -i -e 's/_phpver4=84/_phpver4=zts84/' APKBUILD
RUN sed -i -e 's/.\/configure php --module=php\$_phpver2 --config=php-config\$_phpver2//' APKBUILD
RUN sed -i -e 's/.\/configure php --module=php\$_phpver3 --config=php-config\$_phpver3//' APKBUILD
RUN sed -i -e 's/perl php\$_phpver2 php\$_phpver3 php\$_phpver4/perl php\$_phpver4 /' APKBUILD
# make unit-php84 find the lphpzts84.so
# hadolint ignore=SC2016
#RUN sed -i -e 's/.\/configure php --module=php\$_phpver4/sed -i -e "s\/lphp\/lphpzts\/g" auto\/modules\/php \&\& cat auto\/modules\/php \&\& .\/configure php --module=php\$_phpver4/g' APKBUILD
Expand Down

0 comments on commit aaa6a60

Please sign in to comment.