Bitbucket pipeline fails with grps error

Ramjee July 19, 2021

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"]

 

1 answer

0 votes
Jason Harrison November 10, 2021

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events