Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use curl-dev instead of curl #194

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile-cli
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ COPY src/php/utils/docker/ /usr/local/bin/
# Install PHP extensions
# hadolint ignore=DL4006
RUN set -x \
# Install curl-dev in order to address the curl binary issue in some Alpine versions
&& apk add --no-cache curl-dev \
# Adding sodium purely for the 7.1 image, it's already in 7.2 and up: https://www.php.net/manual/en/sodium.installation.php \
&& apk add --no-cache wget \
&& if [ $(php -v | grep "PHP 7.1" | wc -l) != 0 ] ; then apk add --no-cache libsodium-dev; else true; fi \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ COPY src/php/utils/install-* /usr/local/bin/
# Install PHP extensions
# hadolint ignore=DL4006
RUN set -x \
# Install curl-dev in order to address the curl binary issue in some Alpine versions
&& apk add --no-cache curl-dev \
# Adding sodium purely for the 7.1 image, it's already in 7.2 and up: https://www.php.net/manual/en/sodium.installation.php \
&& apk add --no-cache wget gettext \
&& if [ $(php -v | grep "PHP 7.1" | wc -l) != 0 ] ; then apk add --no-cache libsodium-dev; else true; fi \
Expand Down
Loading