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

Build Failure with configure.sh step when using Open Liberty 23.0.0.12 #3547

Closed
kinueng opened this issue Jan 8, 2024 · 2 comments · Fixed by #3681
Closed

Build Failure with configure.sh step when using Open Liberty 23.0.0.12 #3547

kinueng opened this issue Jan 8, 2024 · 2 comments · Fixed by #3681
Labels
infrastructure Work that enables/improves hosting the site and its content

Comments

@kinueng
Copy link
Member

kinueng commented Jan 8, 2024

When moving the openliberty.io containers to the newest Open Liberty driver via PR (#3530), the builds are failing when the application is being bundled with an Open Liberty driver. The Open Liberty Starter does not exhibit this problem, so this likely is an issue specifically to the openliberty.io container.

#25 [runtime 4/5] COPY --from=war --chown=1001:0 target/openliberty-website-1.0-SNAPSHOT /config/apps/openliberty.war
#25 DONE 0.5s

#26 [runtime 5/5] RUN [configure.sh](http://configure.sh/)
#26 ERROR: executor failed running [/bin/sh -c [configure.sh](http://configure.sh/)]: exit code: 1
------
 > [runtime 5/5] RUN [configure.sh](http://configure.sh/):
------
WARNING: current commit information was not captured by the build: git was not found in the system: exec: "git": executable file not found in $PATH
ERROR: failed to solve: executor failed running [/bin/sh -c [configure.sh](http://configure.sh/)]: exit code: 1
@kinueng kinueng added the infrastructure Work that enables/improves hosting the site and its content label Jan 8, 2024
@natalie-bernhard
Copy link
Contributor

@mbroz2

@natalie-bernhard
Copy link
Contributor

Caused by lack of permissions when copying over server.xml in Dockerfile. Added chown option to increase permissions. Fix can be found on branch reduce-build-files until it is delivered, and is currently built on demo1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Work that enables/improves hosting the site and its content
Projects
Status: Closed/Done
Development

Successfully merging a pull request may close this issue.

2 participants