Public | Automated Build

Last pushed: 3 years ago
# Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. # # Dockerfile for google/dart-test-runner FROM google/dart # Enable contrib and non-free packages. RUN echo "deb wheezy contrib non-free" >> /etc/apt/sources.list \ && echo "deb wheezy-updates contrib non-free" >> /etc/apt/sources.list \ && echo "deb wheezy/updates contrib non-free" >> /etc/apt/sources.list RUN apt-get update # Install Chromium, required fonts and needed tools. RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula \ select true | debconf-set-selections RUN apt-get install --no-install-recommends -y -q chromium-browser \ tar wget unzip xvfb xauth \ ttf-kochi-gothic ttf-kochi-mincho ttf-mscorefonts-installer \ ttf-indic-fonts ttf-dejavu-core fonts-thai-tlwg # Install libc6-dev from testing cource. RUN echo "deb testing main contrib non-free" >> /etc/apt/sources.list RUN apt-get update RUN apt-get install --no-install-recommends -y -q libc6-dev # Trick to have ttf-indic-fonts-core since ttf-indic-fonts is transitional. WORKDIR /usr/share/fonts/truetype/ttf-indic-fonts-core RUN ln -s ../lohit-punjabi/Lohit-Punjabi.ttf lohit_hi.ttf \ && ln -s ../lohit-tamil/Lohit-Tamil.ttf lohit_ta.ttf \ && ln -s ../fonts-beng-extra/MuktiNarrow.ttf \ && ln -s ../lohit-punjabi/Lohit-Punjabi.ttf lohit_pa.ttf # Install Dartium Content Shell. WORKDIR /usr/local/content_shell RUN wget RUN unzip \ && rm \ && mv $(ls) latest ENV PATH /usr/local/content_shell/latest:$PATH # Install the Dart test runner. ENV PATH $PATH:/root/.pub-cache/bin RUN pub global activate test_runner # Run Test Runner and display results. ADD /usr/local/bin/ RUN chmod +x /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/"]
Source Repository