Sed should be -i -e, not -ie

This commit is contained in:
Deon George
2023-06-26 19:57:08 +10:00
parent 59064cc03e
commit 4ac8e00528
3 changed files with 2 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
FROM php:8.1-fpm-alpine
# Change to http respositories, so they we can cache the install packages
RUN if [ -n ${HTTP_PROXY} ] ; then sed -ie s'/https/http/' /etc/apk/repositories; fi
RUN if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi
COPY docker/pecl_install /usr/local/bin/pecl_install
# Tune PHP