Skip to content

Commit c0df094

Browse files
committed
bin tini version working
Signed-off-by: chawinphat <[email protected]>
1 parent fe0f69b commit c0df094

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ ENV TINI_VERSION=v0.19.0
6161
RUN yum update -y && yum install -y tar gzip shadow-utils which && yum clean all
6262

6363
# Add Tini to use as init (PID1) process.
64-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} ./tini
65-
RUN chmod 755 ./tini
64+
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /bin/tini
65+
RUN chmod 755 /bin/tini
6666

6767
# Install Reporting dependencies
6868
RUN yum install -y libnss3.so xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc fontconfig freetype && yum clean all
@@ -102,5 +102,5 @@ LABEL org.label-schema.schema-version="1.0" \
102102
"DOCKERFILE"="https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile"
103103

104104
# CMD to run
105-
ENTRYPOINT ["./tini", "--", "./opensearch-dashboards-docker-entrypoint.sh"]
105+
ENTRYPOINT ["/bin/tini", "--", "./opensearch-dashboards-docker-entrypoint.sh"]
106106
CMD ["opensearch-dashboards"]

docker/release/dockerfiles/opensearch.al2.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ ENV TINI_VERSION=v0.19.0
6464
RUN yum update -y && yum install -y tar gzip shadow-utils which && yum clean all
6565

6666
# Add Tini to use as init (PID1) process.
67-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} ./tini
68-
RUN chmod 755 ./tini
67+
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /bin/tini
68+
RUN chmod 755 /bin/tini
6969

7070
# Create an opensearch user, group
7171
RUN groupadd -g $GID opensearch && \
@@ -115,5 +115,5 @@ LABEL org.label-schema.schema-version="1.0" \
115115
"DOCKERFILE"="https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/dockerfiles/opensearch.al2.dockerfile"
116116

117117
# CMD to run
118-
ENTRYPOINT ["./tini", "--", "./opensearch-docker-entrypoint.sh"]
118+
ENTRYPOINT ["/bin/tini", "--", "./opensearch-docker-entrypoint.sh"]
119119
CMD ["opensearch"]

0 commit comments

Comments
 (0)