Fix libc dependency issue
This commit is contained in:
@@ -4,6 +4,10 @@ ARG ARCH=x86_64
|
|||||||
ARG PROTOC_VERSION=3.14.0
|
ARG PROTOC_VERSION=3.14.0
|
||||||
ARG GRPC_WEB_VERSION=1.2.1
|
ARG GRPC_WEB_VERSION=1.2.1
|
||||||
|
|
||||||
|
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
|
||||||
|
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.32-r0/glibc-2.32-r0.apk && \
|
||||||
|
apk add glibc-2.32-r0.apk
|
||||||
|
|
||||||
RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${ARCH}.zip -O protoc.zip && \
|
RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${ARCH}.zip -O protoc.zip && \
|
||||||
unzip protoc.zip -d /usr/ && \
|
unzip protoc.zip -d /usr/ && \
|
||||||
chmod +x /usr/bin/protoc && \
|
chmod +x /usr/bin/protoc && \
|
||||||
|
|||||||
Reference in New Issue
Block a user