github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/dind/cluster/Dockerfile (about) 1 # Copyright 2017 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 gcr.io/k8s-testimages/dind-test-base-amd64:0.2 16 17 # Get our short startup scripts first, because they're least likely to change. 18 COPY init-wrapper.sh /init-wrapper.sh 19 COPY start.sh /start.sh 20 21 # Get the debs 22 COPY kubectl.deb / 23 24 # Grab a file with the version info. 25 COPY docker_version / 26 COPY source_version / 27 28 # Install the binaries before getting the component images, because if they've 29 # changed, we're already redoing everything. 30 31 # kubeadm depends on kubelet depends on kubernetes-cni 32 RUN dpkg -i kubectl.deb 33 34 # Get the dind-node image. 35 COPY dind-node-bundle.tar / 36 37 # Get the test artifacts. 38 COPY e2e.test / 39 COPY ginkgo / 40 COPY dind-test.sh / 41 COPY cluster-up / 42 43 ENTRYPOINT ["/init-wrapper.sh"]