mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

o Set -e to abort script if a command fails. o Allow custom docker 'TAG' from the environment. o Move arch suffix to version to allow all images to be put into a single repository. o Enable cross builds. When doing cross builds where the host and target architectures are different 'RUN mkdir' will fail since the target container cannot be run on the host. To work around this, create the directories in build-docker, then use ADD in the Dockerfile. o Add Dockerfile-release.arm64 Signed-off-by: Geoff Levand <geoff@infradead.org>
12 lines
207 B
Plaintext
12 lines
207 B
Plaintext
FROM ppc64le/ubuntu:16.04
|
|
|
|
ADD etcd /usr/local/bin/
|
|
ADD etcdctl /usr/local/bin/
|
|
ADD var/etcd /var/etcd
|
|
ADD var/lib/etcd /var/lib/etcd
|
|
|
|
EXPOSE 2379 2380
|
|
|
|
# Define default command.
|
|
CMD ["/usr/local/bin/etcd"]
|