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

The native-standalone containerfile doesn't build on Buildah #2

Open
cardil opened this issue Jan 20, 2023 · 0 comments
Open

The native-standalone containerfile doesn't build on Buildah #2

cardil opened this issue Jan 20, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@cardil
Copy link
Member

cardil commented Jan 20, 2023

Original: cardil/knative-serving-showcase#1

Building with Buildah fails (src/main/container/native-standalone/Containerfile):

$ buildah bud --layers \
  --ulimit nofile=4096:4096 \
  -f src/main/container/native-standalone/Containerfile .

The error message is:

[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:3.0.0-M7:verify (default) @ knative-serving-showcase ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:45 min
[INFO] Finished at: 2023-01-13T13:49:28Z
[INFO] ------------------------------------------------------------------------
--> 948c359604a
[2/2] STEP 1/7: FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7
[2/2] STEP 2/7: WORKDIR /work
--> Using cache 9fa937ced8dcee485b5ec047518f2945368d2fb83c3e156b7b0263814b22b82d
--> 9fa937ced8d
[2/2] STEP 3/7: COPY --from=builder /project/work/target/*-runner /work/application
Error: building at STEP "COPY --from=builder /project/work/target/*-runner /work/application": checking on sources under "/home/ksuszyns/.local/share/containers/storage/overlay/ad4e84047a6b023f1f67bf14dbcd1f329a8f52bb086fadbea199326278c40b31/merged": Rel: can't make  relative to /home/ksuszyns/.local/share/containers/storage/overlay/ad4e84047a6b023f1f67bf14dbcd1f329a8f52bb086fadbea199326278c40b31/merged; copier: stat: ["/project/work/target/*-runner"]: no such file or directory

Execution: https://github.com/cardil/knative-serving-showcase/actions/runs/3902164920/jobs/6664892868

@cardil cardil added the kind/bug Something isn't working label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant