24 lines
No EOL
762 B
Docker
24 lines
No EOL
762 B
Docker
FROM ubuntu
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
curl \
|
|
gnupg \
|
|
lsb-release
|
|
|
|
RUN curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.16.0/kind-linux-amd64 && \
|
|
chmod +x ./kind && \
|
|
mv ./kind /bin/kind
|
|
|
|
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
|
|
chmod +x ./kubectl && \
|
|
mv ./kubectl /bin/kubectl
|
|
|
|
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
|
|
|
RUN echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu \
|
|
$(lsb_release -cs) \
|
|
stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
|
|
RUN apt-get update && apt-get install -y docker-ce-cli |