-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi,
I have this error when I build the image from macOS or Debian:
`> [19/39] RUN sed -i "s/uname -a | grep/awk -F= '/^NAME/{print $2}' /etc/os-release | grep/" /tmp/apachesetup.sh ; sed -i "s/uname -a | grep/awk -F= '/^NAME/{print $2}' /etc/os-release | grep/" /tmp/rssetup.sh ; sed -i "s/systemctl restart apache2.service/service apache2 restart/" /tmp/apachesetup.sh ; sed -i "s/systemctl status apache2.service --no-pager/service apache2 status/" /tmp/apachesetup.sh:
0.332 sed: can't read /tmp/apachesetup.sh: No such file or directory
0.350 sed: can't read /tmp/rssetup.sh: No such file or directory
0.369 sed: can't read /tmp/apachesetup.sh: No such file or directory
0.387 sed: can't read /tmp/apachesetup.sh: No such file or directory
78 | # as init system (PID 1)" bugs in the apachesetup.sh and rssetup.sh
79 | >>> RUN sed -i "s/uname -a | grep/awk -F= '/^NAME/{print $2}' /etc/os-release | grep/" /tmp/apachesetup.sh ;
80 | >>> sed -i "s/uname -a | grep/awk -F= '/^NAME/{print $2}' /etc/os-release | grep/" /tmp/rssetup.sh ;
81 | >>> sed -i "s/systemctl restart apache2.service/service apache2 restart/" /tmp/apachesetup.sh ;
82 | >>> sed -i "s/systemctl status apache2.service --no-pager/service apache2 status/" /tmp/apachesetup.sh
83 |
ERROR: failed to solve: process "/bin/sh -c sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print \$2\}' \/etc\/os-release | grep/" /tmp/apachesetup.sh ; sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print \$2\}' \/etc\/os-release | grep/" /tmp/rssetup.sh ; sed -i "s/systemctl restart apache2.service/service apache2 restart/" /tmp/apachesetup.sh ; sed -i "s/systemctl status apache2.service --no-pager/service apache2 status/" /tmp/apachesetup.sh" did not complete successfully: exit code: 2`