Commit dc7a7c55 authored by Darren Shepherd's avatar Darren Shepherd
Browse files

Drop kubelet/kube-proxy from image

parent 00d1c0fc
Showing with 0 additions and 7 deletions
+0 -7
FROM rancher/k8s:v1.8.9-rancher1-1 as k8s
FROM rancher/rke-service-sidekick:v0.1.0 as sidekick
FROM ubuntu:17.10
RUN apt-get update && apt-get install -y git curl ca-certificates unzip xz-utils && \
useradd rancher && \
......@@ -16,10 +13,6 @@ RUN mkdir /root/.kube && \
ln -s /usr/bin/rancher /usr/bin/reset-password
WORKDIR /var/lib/rancher
RUN mkdir /opt/rke
COPY --from=sidekick /opt/rke /opt/rke
COPY --from=k8s /usr/bin/kubelet /usr/bin/kube-proxy /usr/bin/
ENV CATTLE_UI_PATH /usr/share/rancher/ui
ENV CATTLE_UI_VERSION 2.0.36
ENV CATTLE_CLI_VERSION v1.0.0-alpha14
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment