Use pre-built Dart docker image.

pull/14120/head
Jakob Roland Andersen 7 years ago
parent 9b719b35d5
commit cb36a2a92b
  1. 17
      templates/tools/dockerfile/interoptest/grpc_interop_dart/Dockerfile.template
  2. 17
      tools/dockerfile/interoptest/grpc_interop_dart/Dockerfile

@ -14,22 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM debian:jessie
# Install basic dependencies.
RUN apt-get update && apt-get -y install curl git
# Set up Dart stable repository.
RUN apt-get update && apt-get -y install apt-transport-https
# Get the Google Linux package signing key.
RUN sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
# Set up the location of the stable repository.
RUN sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
# Install Dart
RUN apt-get update && apt-get -y install dart
ENV PATH $PATH:/usr/lib/dart/bin
FROM google/dart:latest
# Define the default command.
CMD ["bash"]

@ -12,22 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM debian:jessie
# Install basic dependencies.
RUN apt-get update && apt-get -y install curl git
# Set up Dart stable repository.
RUN apt-get update && apt-get -y install apt-transport-https
# Get the Google Linux package signing key.
RUN sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
# Set up the location of the stable repository.
RUN sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
# Install Dart
RUN apt-get update && apt-get -y install dart
ENV PATH $PATH:/usr/lib/dart/bin
FROM google/dart:latest
# Define the default command.
CMD ["bash"]

Loading…
Cancel
Save