diff --git a/pubber/Dockerfile.pubber b/pubber/Dockerfile.pubber index 87abc7d94f..a27e3b1a23 100644 --- a/pubber/Dockerfile.pubber +++ b/pubber/Dockerfile.pubber @@ -4,6 +4,10 @@ WORKDIR /root RUN apk add --no-cache bash openjdk17 gcompat curl jq sudo git python3 moreutils mosquitto mosquitto-clients openssl coreutils +# Workaround for https://github.com/grpc/grpc-java/issues/8751 +# Only necessary for running on GKE -- won't show up with docker! +ENV LD_PRELOAD=/lib/libgcompat.so.0 + ADD build/libs pubber/build/libs/ ADD bin/ pubber/bin/ diff --git a/selfie/Dockerfile.selfie b/selfie/Dockerfile.selfie index d7c3de1232..d5e9241c61 100644 --- a/selfie/Dockerfile.selfie +++ b/selfie/Dockerfile.selfie @@ -2,9 +2,10 @@ FROM alpine:latest WORKDIR /root -RUN apk add bash gcompat mosquitto-clients curl python3 jq moreutils +RUN apk add --no-cache bash openjdk17 gcompat curl jq sudo git python3 moreutils mosquitto mosquitto-clients openssl coreutils # Workaround for https://github.com/grpc/grpc-java/issues/8751 +# Only necessary for running on GKE -- won't show up with docker! ENV LD_PRELOAD=/lib/libgcompat.so.0 RUN curl -sSL https://sdk.cloud.google.com | bash diff --git a/udmis/Dockerfile.udmis b/udmis/Dockerfile.udmis index 39ff7d9eeb..9039c9be96 100644 --- a/udmis/Dockerfile.udmis +++ b/udmis/Dockerfile.udmis @@ -5,6 +5,10 @@ WORKDIR /root # Ideally shared with validator and pubber to amortize build differences. RUN apk add --no-cache bash openjdk17 gcompat curl jq sudo git python3 moreutils mosquitto mosquitto-clients openssl coreutils +# Workaround for https://github.com/grpc/grpc-java/issues/8751 +# Only necessary for running on GKE -- won't show up with docker! +ENV LD_PRELOAD=/lib/libgcompat.so.0 + ADD build/udmi_bin/ udmi/bin/ ADD bin/ bin/ diff --git a/validator/Dockerfile.validator b/validator/Dockerfile.validator index 9585da0eec..a0c417d4c8 100644 --- a/validator/Dockerfile.validator +++ b/validator/Dockerfile.validator @@ -5,6 +5,10 @@ WORKDIR /root # Ideally the same as from Dockerfile.udmis to share layers RUN apk add --no-cache bash openjdk17 gcompat curl jq sudo git python3 moreutils mosquitto mosquitto-clients openssl coreutils +# Workaround for https://github.com/grpc/grpc-java/issues/8751 +# Only necessary for running on GKE -- won't show up with docker! +ENV LD_PRELOAD=/lib/libgcompat.so.0 + ADD build/udmi_bin/ bin/ ADD build/udmi_etc/ etc/ ADD build/schema/ schema/