Open pavankumar-go opened 3 years ago
Looks like prebuilt alpine librdkafka binaries didn't work with -ldflags '-extldflags "-static"'
during static compile.
instead added
RUN git clone https://github.com/edenhill/librdkafka.git && cd librdkafka && ./configure --prefix /usr && make && make install
- this worked! - was able to successfully static compile
Description
I'm trying statically compile using
golang:1.15-alpine
imageGetting below error
Checklist
Please provide the following information:
LibraryVersion()
): v1.0.0 & latestConfigMap{...}
"debug": ".."
as necessary)