eantyshev commented on code in PR #24459: URL: https://github.com/apache/beam/pull/24459#discussion_r1039598561
########## playground/backend/containers/router/Dockerfile: ########## @@ -24,35 +24,22 @@ FROM $BASE_IMAGE AS build ENV GOPATH /go ENV PATH $GOPATH/bin:$PATH RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -RUN go install google.golang.org/protobuf/cmd/[email protected] &&\ - go install google.golang.org/grpc/cmd/[email protected] # Prepare Application COPY src /go/src/playground/backend -ARG BEAM_VERSION=2.40.0 -ENV PREPARED_MOD_DIR=/opt/playground/prepared_folder/ -ENV PIPELINES_FOLDER_NAME="executable_files" -RUN mkdir -p /opt/playground/ $PREPARED_MOD_DIR -WORKDIR $PREPARED_MOD_DIR - -RUN go mod init $PIPELINES_FOLDER_NAME &&\ - go get -u github.com/apache/beam/sdks/v2@v$BEAM_VERSION &&\ - go mod download all - # Build Application #RUN WORKDIR /go/src/playground/backend -RUN ls # Build Application -RUN go mod download &&\ - go mod tidy &&\ +RUN go mod tidy -v &&\ + go mod download &&\ cd cmd/server &&\ go build -o /go/bin/server_go_backend # Null image -FROM debian:stretch-slim +FROM debian:stable-20221114-slim Review Comment: the old image didn't have necessary glibc version (required by librdkafka CGo bindings) we need to keep it updated when Kafka client version is updated -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
