Skip to content

Commit

Permalink
ci: try using dart mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy committed Mar 2, 2023
1 parent f701d66 commit 0627688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ RUN mkdir -p /dart-protobuf
ARG PROTOC_GEN_DART_VERSION
RUN curl -sSL https://api.github.com/repos/google/protobuf.dart/tarball/protoc_plugin-${PROTOC_GEN_DART_VERSION} | tar xz --strip 1 -C /dart-protobuf
WORKDIR /dart-protobuf/protoc_plugin
RUN dart pub get -v
RUN PUB_HOSTED_URL=https://pub.flutter-io.cn dart pub get -v
RUN dart compile exe --verbose bin/protoc_plugin.dart -o protoc_plugin
RUN install -D /dart-protobuf/protoc_plugin/protoc_plugin /out/usr/bin/protoc-gen-dart

Expand Down

0 comments on commit 0627688

Please sign in to comment.