Skip to content

Front-proxy example error == returned a non-zero code: 127 #11679

@lu4t

Description

@lu4t

Hi, when running the front-proxy example on a laptop, I get the following error on step 3/8:

/bin/sh: pip3: not found
ERROR: Service 'service1' failed to build: The command '/bin/sh -c pip3 install -q Flask==0.11.1 requests==2.18.4' returned a non-zero code: 127

I found on Dockerfile-service file, on lines 3 and 4:

RUN apk update && apk add python3 bash curl
RUN pip3 install -q Flask==0.11.1 requests==2.18.4

However, to run pip3, the correct package to add is named: py3-pip (not python3).

If I edit and change the dockerfile-service file, the dockers seem to build correctly.

When doing docker-compose ps, I still got an error saying:
front-proxy_front-envoy_1 status: Exit 1
front-proxy_service1_1 status: Exit 127
front-proxy_service2_1 status: Exit 127

So the example seems to be failing somewhere else also...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions