I am trying to build a docker container inside the pipeline. It fails with the following error:
failed to dial gRPC: unable to upgrade to h2c, received 403
My docker file contains the below lines:
# syntax=docker/dockerfile:1.2
FROM registry.access.redhat.com/ubi8/python-38
USER root
WORKDIR /app
CMD ["/bin/bash", "/app/runit.sh"]
Did you find a solution for this? Which image were you using for your pipeline?
We have seen this error with a node:16:13.0-alpine image for the pipeline. Rather than report that the docker command is undefined, the same error you had was given.
Removing "-alpine" from the pipeline image fixed the problem.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.