Skip to content

Can't build on macOS or Debian #9

Open
@OptimusKoala

Description

@OptimusKoala

Hi,

I can't build the image. I have this error:

> [17/31] 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.248 sed: can't read /tmp/apachesetup.sh: No such file or directory
0.266 sed: can't read /tmp/rssetup.sh: No such file or directory
0.284 sed: can't read /tmp/apachesetup.sh: No such file or directory
0.302 sed: can't read /tmp/apachesetup.sh: No such file or directory
------
Dockerfile:83
--------------------
  82 |     # as init system (PID 1)" bugs in the apachesetup.sh and rssetup.sh
  83 | >>> RUN sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print \$2\}' \/etc\/os-release | grep/" /tmp/apachesetup.sh ; \
  84 | >>> sed -i "s/uname -a | grep/awk -F= '\/^NAME\/\{print \$2\}' \/etc\/os-release | grep/" /tmp/rssetup.sh ; \
  85 | >>> sed -i "s/systemctl restart apache2.service/service apache2 restart/" /tmp/apachesetup.sh ; \
  86 | >>> sed -i "s/systemctl status apache2.service --no-pager/service apache2 status/" /tmp/apachesetup.sh
  87 |
--------------------
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

Why thoses files are missing ?

Metadata

Metadata

Assignees

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