-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difficulty building under Alpine 3.19 #1424
Comments
I think I tracked the problem down to the Alpine FROM alpine:${ALPINE_IMAGE_VERSION} as grpc_web
RUN apk add --no-cache \
autoconf \
automake \
build-base \
git \
libtool
ARG GRPC_WEB_VERSION
RUN git clone --recurse-submodules --branch=$GRPC_WEB_VERSION https://github.com/grpc/grpc-web.git
WORKDIR /grpc-web/third_party/protobuf
RUN ./autogen.sh && \
./configure && \
make -j$(nproc) && \
make install
WORKDIR /grpc-web
RUN make -j$(nproc) install-plugin
RUN install -Ds /usr/local/bin/protoc-gen-grpc-web /out/usr/bin/protoc-gen-grpc-web |
I'm trying to build the grpc-web protoc plugin under Alpine as a part of this project using the following Dockerfile:
This results in an enormous error from the Abseil dependency, starting out like this:
Adding
ARG CPPFLAGS=-std=c++17
resolves the Abseil errors but instead returns the following error:I don't think these errors are related to musl libc, is there a problem in the
protobuf-dev
package, or what am I missing here?The text was updated successfully, but these errors were encountered: