Docker Alpine image + grpc: Warning: insecure environment read function 'getenv' used
Asked Answered
F

1

8

When I used this image: node:6.11.0-alpine to run my service (use GRPC), then keep getting these warnings:

D0622 06:52:01.170502843       1 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.554446816      12 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.559295167      14 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.566036292      13 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.569975088      15 env_linux.c:66]             Warning: insecure environment read function 'getenv' used

Do I miss any package? How to fix this?

This issue Issue #8104 can be referred.

Functionalism answered 22/6, 2017 at 7:15 Comment(2)
Inshi, Are you able to resolve this? I m also facing similar issue.Devotion
@Devotion no, sorryFunctionalism
E
1

I believe this has been fixed in grpc-1.23.0 and newer: https://github.com/grpc/grpc/commit/5efa660b41ab05971901f3a7b19e3890ea1e8884

Ellisellison answered 6/2, 2020 at 9:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.