Skip to content

Can't build on macOS or Debian #7

@OptimusKoala

Description

@OptimusKoala

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions