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

podman doesn't seem to work as part of the installer generation process #794

Open
sxa opened this issue Jan 12, 2024 · 0 comments
Open

podman doesn't seem to work as part of the installer generation process #794

sxa opened this issue Jan 12, 2024 · 0 comments

Comments

@sxa
Copy link
Member

sxa commented Jan 12, 2024

As part of testing #793 I was trying to build the images using podman instead of docker. While the core is hard coded to invoke docker if I create a symlink from docker to podman on my machine somewhere at the start of the path it should work ok, and indeed the docker build command that the installer generation process outputs seems to work standalone. Unclear whether this is something specific to my machine or with podman itself, but worthy of investigation to look for a resolution. It's acting as though the process is squashing my PATH somewhere along the line but it's not lcear where that might be happening.

> Task :jdk:suse:packageJdkSuse FAILED
Watching 7 directories to track changes
Caching disabled for task ':jdk:suse:packageJdkSuse' because:
  Build cache is disabled
Task ':jdk:suse:packageJdkSuse' is not up-to-date because:
  Task has failed previously.
Watching 6 directories to track changes
Starting process 'command 'docker''. Working directory: /var/home/sxa/git/openjdk-installer/linux/jdk/suse/src/main/packaging Command: docker build --no-cache -t adoptium-packages-linux-jdk-suse -f Dockerfile /var/home/sxa/git/openjdk-installer/linux/jdk/suse/src/main/packaging
Watching 7 directories to track changes
:jdk:suse:packageJdkSuse (Thread[Execution worker for ':',5,main]) completed. Took 0.007 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jdk:suse:packageJdkSuse'.
> A problem occurred starting process 'command 'docker''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant