You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2016/01/16 20:06:31 UTC

bigtop git commit: BIGTOP-2228: Add tini as init process to bigtop/deploy images

Repository: bigtop
Updated Branches:
  refs/heads/master 75bb61427 -> fd1c77695


BIGTOP-2228: Add tini as init process to bigtop/deploy images


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/fd1c7769
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/fd1c7769
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/fd1c7769

Branch: refs/heads/master
Commit: fd1c776957a077c9353c820fe5adbe5fc3babe25
Parents: 75bb614
Author: Olaf Flebbe <of...@ofleb.be>
Authored: Sat Jan 9 14:43:00 2016 +0100
Committer: Olaf Flebbe <of...@ofleb.be>
Committed: Sat Jan 16 18:36:08 2016 +0100

----------------------------------------------------------------------
 docker/bigtop-deploy/centos-6/Dockerfile     | 6 ++++++
 docker/bigtop-deploy/debian-8/Dockerfile     | 6 ++++++
 docker/bigtop-deploy/ubuntu-14.04/Dockerfile | 6 ++++++
 3 files changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/fd1c7769/docker/bigtop-deploy/centos-6/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-deploy/centos-6/Dockerfile b/docker/bigtop-deploy/centos-6/Dockerfile
index 823dfc3..fd9b56d 100644
--- a/docker/bigtop-deploy/centos-6/Dockerfile
+++ b/docker/bigtop-deploy/centos-6/Dockerfile
@@ -31,4 +31,10 @@ RUN yum -y install openssh-server openssh-clients vim && \
     # Install required Puppet modules
     puppet apply -e "include bigtop_toolchain::puppet-modules"
 
+#Add Tini
+ENV TINI_VERSION v0.8.4
+ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
+RUN chmod +x /tini
+ENTRYPOINT ["/tini", "--"]
+
 CMD /usr/sbin/sshd -D

http://git-wip-us.apache.org/repos/asf/bigtop/blob/fd1c7769/docker/bigtop-deploy/debian-8/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-deploy/debian-8/Dockerfile b/docker/bigtop-deploy/debian-8/Dockerfile
index bd0e8d3..08d4c82 100644
--- a/docker/bigtop-deploy/debian-8/Dockerfile
+++ b/docker/bigtop-deploy/debian-8/Dockerfile
@@ -31,4 +31,10 @@ RUN apt-get update && \
     # Install required Puppet modules
     puppet apply -e "include bigtop_toolchain::puppet-modules"
 
+#Add Tini
+ENV TINI_VERSION v0.8.4
+ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
+RUN chmod +x /tini
+ENTRYPOINT ["/tini", "--"]
+
 CMD /usr/sbin/sshd -D

http://git-wip-us.apache.org/repos/asf/bigtop/blob/fd1c7769/docker/bigtop-deploy/ubuntu-14.04/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-deploy/ubuntu-14.04/Dockerfile b/docker/bigtop-deploy/ubuntu-14.04/Dockerfile
index 24170d3..356c148 100644
--- a/docker/bigtop-deploy/ubuntu-14.04/Dockerfile
+++ b/docker/bigtop-deploy/ubuntu-14.04/Dockerfile
@@ -31,4 +31,10 @@ RUN apt-get update && \
     # Install required Puppet modules
     puppet apply -e "include bigtop_toolchain::puppet-modules"
 
+#Add Tini
+ENV TINI_VERSION v0.8.4
+ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
+RUN chmod +x /tini
+ENTRYPOINT ["/tini", "--"]
+
 CMD /usr/sbin/sshd -D