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

Image not runnable when changing gitlab-groups #428

Open
izphi78 opened this issue Feb 3, 2024 · 0 comments
Open

Image not runnable when changing gitlab-groups #428

izphi78 opened this issue Feb 3, 2024 · 0 comments

Comments

@izphi78
Copy link

izphi78 commented Feb 3, 2024

When moving a Project to another group the images produced by the builder get useless. I guess this is because old layer get reused.

Expected Behavior

The container should be executed normally

Current Behavior

The image exits with the following output:
Setting Active Processor Count to 12 unable to determine class count unable to walk /builds/demob/demo lstat /builds/demob/demo: no such file or directory ERROR: failed to launch: exec.d: failed to execute exec.d file at path '/layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/memory-calculator': exit status 1

Possible Solution

A quickfix is to create a symbolic link inside the container. However this does not work when overwriting the entrypoint.
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "mkdir /builds/demoa": stat mkdir /builds/demoA: no such file or directory: unknown

Steps to Reproduce

The first image was produces within group demob so demoB/demo and pushed in a central repository. Then the project gets moved to another group, in this case demoa.

I pushed the to images to dockerhub: izphi78/buildpacks:pre and izphi78/buildpacks:post

Motivations

The produced images are not usable anymore.

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

1 participant