File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
ignored :
2
2
- DL3018 # Pin versions in apk add - See: https://github.com/hadolint/hadolint/wiki/DL3018
3
3
- SC2086 # For now I had troubles to do a proper quoting for PHPIZE_DEPS - See: https://github.com/koalaman/shellcheck/wiki/SC2086
4
+ - DL3017 # For upgrading CVEs we need to use upgrade
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ RUN set -x \
20
20
&& docker-php-source-tarball clean && rm /usr/local/bin/php-cgi && rm /usr/local/bin/phpdbg && rm -rf /tmp/pear ~/.pearrc \
21
21
&& apk del .phpize-deps
22
22
23
+ # Patch CVE-2018-14618
24
+ RUN apk upgrade --no-cache curl
25
+
23
26
COPY src/php/conf/default.ini /usr/local/etc/php/conf.d/
24
27
COPY src/php/cli/conf/*.ini /usr/local/etc/php/conf.d/
25
28
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ RUN apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS \
21
21
&& apk del .phpize-deps \
22
22
&& apk add --no-cache fcgi
23
23
24
+ # Patch CVE-2018-14618
25
+ RUN apk upgrade --no-cache curl
26
+
24
27
COPY src/php/conf/default.ini /usr/local/etc/php/conf.d/
25
28
COPY src/php/fpm/conf/*.conf /usr/local/etc/php-fpm.d/
26
29
You can’t perform that action at this time.
0 commit comments