mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-16 09:16:38 +00:00
13 lines
519 B
Docker
13 lines
519 B
Docker
FROM golang:1.8-stretch
|
|
|
|
RUN echo "deb http://ftp.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
unzip \
|
|
python python-pip jq \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
|
|
chmod +x ./kubectl && \
|
|
mv ./kubectl /bin/kubectl
|