Skip to content
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

chore(deps): update dependency stepancheg/rust-protobuf to v3.7.1 #388

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
ARG XX_IMAGE_VERSION


FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_IMAGE_VERSION} AS xx

Check warning on line 13 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG tonistiigi/xx:${XX_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/


FROM --platform=$BUILDPLATFORM golang:${GO_IMAGE_VERSION} AS go_host

Check warning on line 16 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG golang:${GO_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
COPY --from=xx / /
WORKDIR /
RUN mkdir -p /out
Expand Down Expand Up @@ -189,7 +189,7 @@
RUN xx-verify /out/usr/bin/protoc-gen-jsonschema


FROM --platform=$BUILDPLATFORM alpine:${ALPINE_IMAGE_VERSION} AS grpc_web

Check warning on line 192 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG alpine:${ALPINE_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
RUN apk add --no-cache \
autoconf \
automake \
Expand All @@ -213,7 +213,7 @@
RUN install -D /usr/local/bin/protoc-gen-grpc-web /out/usr/bin/protoc-gen-grpc-web
RUN xx-verify /out/usr/bin/protoc-gen-grpc-web

FROM --platform=$BUILDPLATFORM rust:${RUST_IMAGE_VERSION} AS rust_target

Check warning on line 216 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG rust:${RUST_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
COPY --from=xx / /
WORKDIR /
RUN mkdir -p /out
Expand All @@ -235,8 +235,8 @@
cargo fetch
ARG TARGETPLATFORM
RUN xx-cargo --config profile.release.strip=true build --release
RUN install -D /rust-protobuf/target/$(xx-cargo --print-target-triple)/release/protoc-gen-rust /out/usr/bin/protoc-gen-rust
RUN xx-verify /out/usr/bin/protoc-gen-rust
RUN install -D /rust-protobuf/target/$(xx-cargo --print-target-triple)/release/protoc-gen-rs /out/usr/bin/protoc-gen-rs
RUN xx-verify /out/usr/bin/protoc-gen-rs


FROM --platform=$BUILDPLATFORM rust_target AS grpc_rust
Expand All @@ -255,7 +255,7 @@

# Skip arm64 build due to https://forums.swift.org/t/build-crash-when-building-in-qemu-using-new-swift-5-6-arm64-image/56090/
# TODO: Set up cross compile https://swiftinit.org/articles/cross-compiling-x86_64-linux-to-aarch64-linux
FROM swift:${SWIFT_IMAGE_VERSION} AS grpc_swift

Check warning on line 258 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG swift:${SWIFT_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG TARGETOS TARGETARCH GRPC_SWIFT_VERSION
RUN <<EOF
mkdir -p /protoc-gen-swift
Expand Down Expand Up @@ -295,7 +295,7 @@
EOF


FROM --platform=$BUILDPLATFORM alpine:${ALPINE_IMAGE_VERSION} AS alpine_host

Check warning on line 298 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG alpine:${ALPINE_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
COPY --from=xx / /
WORKDIR /
RUN mkdir -p /out
Expand Down Expand Up @@ -326,7 +326,7 @@
RUN xx-verify /out/usr/bin/protoc-gen-lint


FROM --platform=$BUILDPLATFORM alpine:${ALPINE_IMAGE_VERSION} AS protoc_gen_pbandk

Check warning on line 329 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG alpine:${ALPINE_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
RUN apk add --no-cache \
curl \
git \
Expand All @@ -342,7 +342,7 @@
RUN install -D /pbandk/protoc-gen-pbandk/jvm/build/libs/protoc-gen-pbandk-jvm-$(cat next-version.txt)-SNAPSHOT-jvm8.jar /out/usr/bin/protoc-gen-pbandk


FROM sbtscala/scala-sbt:${SCALA_SBT_IMAGE_VERSION} AS protoc_gen_scala

Check warning on line 345 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG sbtscala/scala-sbt:${SCALA_SBT_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG TARGETARCH
ARG PROTOC_GEN_SCALA_VERSION
ARG NATIVE_IMAGE_INSTALLED=true
Expand All @@ -364,7 +364,7 @@
EOF


FROM dart:${DART_IMAGE_VERSION} AS protoc_gen_dart

Check warning on line 367 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG dart:${DART_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
RUN mkdir -p /dart-protobuf
ARG PROTOC_GEN_DART_VERSION
RUN curl -sS --retry 5 --retry-delay 10 --retry-connrefused -L https://api.github.com/repos/google/protobuf.dart/tarball/protoc_plugin-${PROTOC_GEN_DART_VERSION} | tar xz --strip 1 -C /dart-protobuf
Expand Down Expand Up @@ -407,7 +407,7 @@
RUN find /out -name "*.a" -delete -or -name "*.la" -delete


FROM node:${NODE_IMAGE_VERSION}

Check warning on line 410 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG node:${NODE_IMAGE_VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
LABEL org.opencontainers.image.authors="Romāns Volosatovs <[email protected]>, Leon White <[email protected]>"
ARG PROTOC_GEN_NANOPB_VERSION PROTOC_GEN_TS_VERSION
RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
Expand Down Expand Up @@ -471,7 +471,7 @@
--php_out=/test \
--python_out=/test \
--ruby_out=/test \
--rust_out=experimental-codegen=enabled,kernel=cpp:/test \
--rs_out=/test \
--ts_out=/test \
--validate_out=lang=go:/test \
google/protobuf/any.proto
Expand Down
2 changes: 1 addition & 1 deletion deps.list
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PROTOC_GEN_JSONSCHEMA_VERSION=1.4.1
PROTOC_GEN_LINT_VERSION=v0.3.0
PROTOC_GEN_NANOPB_VERSION=0.4.9
PROTOC_GEN_PBANDK_VERSION=0.14.3
PROTOC_GEN_RUST_VERSION=v3.6.0
PROTOC_GEN_RUST_VERSION=v3.7.1
PROTOC_GEN_SCALA_VERSION=v0.11.17
PROTOC_GEN_TS_VERSION=0.15.0
PROTOC_GEN_VALIDATE_VERSION=v1.1.0
Expand Down
Loading