010955fbef
This PS moves to use Kubernetes v1.7.5 as the reference deployment version. Change-Id: Ie2060dc5271decf1b9298fc8fc8f23ead6501fbd
21 lines
563 B
Docker
21 lines
563 B
Docker
FROM ubuntu:16.04
|
|
MAINTAINER pete.birley@att.com
|
|
|
|
ARG KUBE_VERSION=v1.7.5
|
|
|
|
RUN set -x \
|
|
&& TMP_DIR=$(mktemp --directory) \
|
|
&& cd ${TMP_DIR} \
|
|
&& apt-get update \
|
|
&& apt-get install -y \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
curl \
|
|
python \
|
|
jq \
|
|
# Install kubectl:
|
|
&& curl -sSL https://dl.k8s.io/${KUBE_VERSION}/kubernetes-client-linux-amd64.tar.gz | tar -zxv --strip-components=1 \
|
|
&& mv ${TMP_DIR}/client/bin/kubectl /usr/bin/kubectl \
|
|
&& chmod +x /usr/bin/kubectl \
|
|
&& rm -rf ${TMP_DIR}
|