k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/images/pull-test-infra-gubernator/Dockerfile (about) 1 # Copyright 2020 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 # https://hub.docker.com/_/ubuntu?tab=tags 16 # https://wiki.ubuntu.com/Releases 17 FROM ubuntu:bionic-20200526 18 19 20 RUN apt update && apt install -y \ 21 git \ 22 mocha \ 23 python \ 24 python-pip \ 25 unzip \ 26 wget \ 27 && rm -rf /var/lib/apt/lists/* 28 29 ENV GAE_ZIP=google_appengine_1.9.40.zip GAE_ROOT=/google_appengine 30 RUN touch /etc/apt/sources.list.d/google-cloud-sdk.list \ 31 && echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" \ 32 >> /etc/apt/sources.list.d/google-cloud-sdk.list \ 33 && wget -O - https://packages.cloud.google.com/apt/doc/apt-key.gpg \ 34 | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \ 35 && apt update && apt install -y \ 36 google-cloud-sdk \ 37 && rm -rf /var/lib/apt/lists/* \ 38 && wget -nv https://storage.googleapis.com/appengine-sdks/featured/${GAE_ZIP} \ 39 && unzip -q ${GAE_ZIP} -d / 40 41 WORKDIR /workspace