Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
barry cho
Rancher
Commits
dc7a7c55
Commit
dc7a7c55
authored
7 years ago
by
Darren Shepherd
Browse files
Options
Download
Email Patches
Plain Diff
Drop kubelet/kube-proxy from image
parent
00d1c0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/Dockerfile
+0
-7
package/Dockerfile
with
0 additions
and
7 deletions
+0
-7
package/Dockerfile
+
0
-
7
View file @
dc7a7c55
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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment