Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on macOS or Debian #9

Open
OptimusKoala opened this issue Feb 13, 2024 · 1 comment
Open

Can't build on macOS or Debian #9

OptimusKoala opened this issue Feb 13, 2024 · 1 comment
Assignees

Comments

@OptimusKoala
Copy link

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 ?

@lmbelo lmbelo self-assigned this Apr 16, 2024
@lmbelo
Copy link
Member

lmbelo commented Apr 16, 2024

@OptimusKoala are you still facing this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants