mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
demo: Add a dockerfile to run etcdctl agains the local cluster
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
c660ca5ac4
commit
f0961b8897
6
projects/demo/etcd/Dockerfile.local
Normal file
6
projects/demo/etcd/Dockerfile.local
Normal file
@ -0,0 +1,6 @@
|
||||
# A dockerfile to build an etcd container image from the upstream one
|
||||
#
|
||||
# It sets the environment to talk to the local cluster
|
||||
FROM quay.io/coreos/etcd:v3.1.5
|
||||
|
||||
ENV ETCDCTL_ENDPOINTS="http://192.168.65.200:2379,http://192.168.65.201:2379,http://192.168.65.202:2379,http://192.168.65.203:2379,http://192.168.65.204:2379"
|
@ -1,2 +1,4 @@
|
||||
#! /bin/sh
|
||||
docker build -t mobylinux/etcd .
|
||||
|
||||
docker build -t etcd.local -f Dockerfile.local .
|
||||
|
Loading…
Reference in New Issue
Block a user