sed is -i -e, not -ie

This commit is contained in:
Deon George 2024-02-24 22:05:54 +11:00
parent 53aa770432
commit a10de4b7f2

View File

@ -4,7 +4,7 @@
FROM 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
RUN apk add shadow && groupadd -g 48 apache && useradd -d /opt/otrs -g apache -c 'OTRS user' otrs