Skip to content

Commit fa9585a

Browse files
Merge pull request apache#17 from chancez/add_tini
Dockerfile*: Add tini
2 parents 64672f8 + a099414 commit fa9585a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ RUN yum -y update && \
7676
&& yum clean all \
7777
&& rm -rf /tmp/* /var/tmp/*
7878

79+
ENV TINI_VERSION v0.18.0
80+
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/bin/tini
81+
RUN chmod +x /usr/bin/tini
82+
7983
ENV JAVA_HOME=/etc/alternatives/jre
8084

8185
ENV HADOOP_VERSION 3.1.1

Dockerfile.okd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ RUN yum -y update && \
7777
&& yum clean all \
7878
&& rm -rf /tmp/* /var/tmp/*
7979

80+
ENV TINI_VERSION v0.18.0
81+
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/bin/tini
82+
RUN chmod +x /usr/bin/tini
83+
8084
ENV JAVA_HOME=/etc/alternatives/jre
8185

8286
ENV HADOOP_VERSION 3.1.1

Dockerfile.rhel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ RUN yum -y update && \
5353
rsync \
5454
openssl \
5555
faq \
56+
tini \
5657
&& yum clean all \
5758
&& rm -rf /tmp/* /var/tmp/*
5859

0 commit comments

Comments
 (0)