craftercms / craftercms

Parent project for Crafter CMS. Issue tracking across all repositories and global builds.
GNU General Public License v3.0
311 stars 103 forks source link

Rootless docker images build not work #7291

Closed phuongnq closed 1 month ago

phuongnq commented 1 month ago

CI Number

5330

Duplicates

Latest version

Describe the issue

Building images with rootless option does not work

Steps to reproduce

Steps:

  1. Build all images with the command:
    ./gradlew buildAllImages -ProotlessDockerImages=true
  2. Run docker with docker-compose
  3. Notice the error and the tomcat & deployer do not start:
deployer-1  | ./docker-entrypoint.sh: line 22: /opt/crafter/bin/crafter-deployer/deployer.sh run: No such file or directory
tomcat-1    | ./docker-entrypoint.sh: line 22: /opt/crafter/bin/apache-tomcat/bin/catalina.sh run: No such file or directory
...
deployer-1 exited with code 127
tomcat-1 exited with code 127

Relevant log output

No response

Screenshots and/or videos

No response

phuongnq commented 1 month ago

@sumerjabri @russdanner This seems to happen after the switch off from gosu. I have updated the following:

Euquimides commented 1 month ago

Hi! Updated and rechecked this issue. Fix verified for both v4.1.9 and v4.2.0. Thank you! Closing this ticket.