github.com/abayer/test-infra@v0.0.5/images/pull-test-infra-gubernator/Dockerfile (about) 1 # Copyright 2016 The Kubernetes Authors. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 FROM ubuntu:16.04 16 LABEL maintainer="spxtr@google.com" 17 18 RUN apt-get update && apt-get install -y \ 19 git \ 20 wget \ 21 unzip \ 22 python \ 23 python-pip \ 24 mocha && \ 25 apt-get clean 26 27 ENV GCLOUD_VERSION 138.0.0 28 RUN wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-$GCLOUD_VERSION-linux-x86_64.tar.gz && \ 29 tar xf google-cloud-sdk-$GCLOUD_VERSION-linux-x86_64.tar.gz && \ 30 rm google-cloud-sdk-$GCLOUD_VERSION-linux-x86_64.tar.gz && \ 31 ./google-cloud-sdk/install.sh 32 ENV PATH "/google-cloud-sdk/bin:${PATH}" 33 34 # Based on https://github.com/travis-ci/travis-ci/issues/738#issuecomment-11179888 35 ENV GAE_ZIP=google_appengine_1.9.40.zip GAE_ROOT=/google_appengine 36 RUN wget -nv https://storage.googleapis.com/appengine-sdks/featured/${GAE_ZIP} && \ 37 unzip -q ${GAE_ZIP} -d / 38 39 WORKDIR /workspace 40 ADD runner / 41 ENTRYPOINT ["/bin/bash", "/runner"]