-
Notifications
You must be signed in to change notification settings - Fork 4
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
S2I image build with custom GV provider fails #253
Comments
can you try running same build command without giving |
I tried as you suggested, this is what I am seeing now.
|
Are you using rhel os to build this image? |
I am using |
@vsirimalla As per Ubuntu releases https://wiki.ubuntu.com/Releases Ubuntu 20.10 (Groovy Gorilla) has already past End Of Life (EOL) July 22, 2021 Note: |
Thanks @rameshpolishetti I just took the latest dockerfiles/Dockerfile content from GIT and rerun the job as is, and it is failing at the first step.
So then, I did add the
If I remove
I wonder if the RHEL Docker does recognize multi stage builds (like above)? Please advise.
|
@vsirimalla looks like you are trying to build BE app image on a RHEL machine. |
@vsirimalla Regarding multi-stage build support - I see from Docker release notes https://docs.docker.com/engine/release-notes/17.05/#builder that multi-stage build support is added from the version 17.05 Since you are using RHEL, you can consider is using Useful links: |
RHEL Docker is a different from upstream Docker. Let me try with buildad instead |
@rameshpolishetti Looks like buildah does not work with s2ibuilder option. |
@vsirimalla There is no support for s2i with buildah. You can check there is one open ticket in s2i repo here. One more observation, from s2i docs I see that docker version should be 1.6 and higher. Check it here. |
@rameshpolishetti |
@vsirimalla In your VM try running docker without sudo privilege. You can find post installation steps for docker here. Once you are able to run your docker try running build script without sudo. |
Hi @vsirimalla I believe now you are able to build BE application container image. Please confirm and close the issue. |
Version Information
What is the expected behavior?
$ ./build_image.sh -i s2ibuilder -s ~/installers/ -t tibco-be:6.2 --gv-provider ge-consul -d dockerfiles/Dockerfile-s2i
running above command should be able to build a BE source image, but it fails that lstat isn't available.
What is the actual behavior?
$ ./build_image.sh -i s2ibuilder -s ~/installers/ -t tibco-be:6.2 --gv-provider ge-consul -d dockerfiles/Dockerfile-s2i
running above command should be able to build a BE source image, but it fails that lstat isn't available.
Please provide a unit test that demonstrates the bug.
Other notes on how to reproduce the issue?
Please provide log files.
Any possible solutions?
Documentation did not specify which Dockerfile to be used for s2i build image with just softwares (not an application image)
Can you identify the location in the source code where the problem exists?
If the bug is confirmed, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)
The text was updated successfully, but these errors were encountered: