Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
51e2518e
Commit
51e2518e
authored
Apr 02, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6392 from dchen1107/master
Build etcd image (version: 2.0.8) and push it to gcr.io
parents
dca645d4
1f3b5bf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
Dockerfile
cluster/images/etcd/Dockerfile
+5
-0
Makefile
cluster/images/etcd/Makefile
+20
-0
No files found.
cluster/images/etcd/Dockerfile
0 → 100644
View file @
51e2518e
FROM
scratch
MAINTAINER
Dawn Chen <dawnchen@google.com>
ADD
./etcd /usr/local/bin/etcd
ADD
./etcdctl /usr/local/bin/etcdctl
cluster/images/etcd/Makefile
0 → 100644
View file @
51e2518e
.PHONY
:
clean build push
IMAGE
=
etcd
TAG
=
2.0.8
OUTPUT_DIR
=
$(IMAGE)
-v
$(TAG)
-linux-amd64
clean
:
rm
-rf
$(OUTPUT_DIR)
$(IMAGE)
-v
$(TAG)
-linux-amd64
.tar.gz etcd etcdctl
build
:
clean
curl
-L
-O
https://github.com/coreos/etcd/releases/download/v
$(TAG)
/
$(IMAGE)
-v
$(TAG)
-linux-amd64
.tar.gz
tar
xzvf
$(IMAGE)
-v
$(TAG)
-linux-amd64
.tar.gz
cp
$(OUTPUT_DIR)
/etcd .
cp
$(OUTPUT_DIR)
/etcdctl .
docker build
-t
gcr.io/google_containers/
$(IMAGE)
:
$(TAG)
.
push
:
build
gcloud preview docker push gcr.io/google_containers/
$(IMAGE)
:
$(TAG)
all
:
push
Write
Preview
Markdown
is supported
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