File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
docker/release/dockerfiles Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ ENV TINI_VERSION=v0.19.0
61
61
RUN yum update -y && yum install -y tar gzip shadow-utils which && yum clean all
62
62
63
63
# 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
66
66
67
67
# Install Reporting dependencies
68
68
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" \
102
102
"DOCKERFILE" ="https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/dockerfiles/opensearch-dashboards.al2.dockerfile"
103
103
104
104
# CMD to run
105
- ENTRYPOINT [". /tini" , "--" , "./opensearch-dashboards-docker-entrypoint.sh" ]
105
+ ENTRYPOINT ["/bin /tini" , "--" , "./opensearch-dashboards-docker-entrypoint.sh" ]
106
106
CMD ["opensearch-dashboards" ]
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ ENV TINI_VERSION=v0.19.0
64
64
RUN yum update -y && yum install -y tar gzip shadow-utils which && yum clean all
65
65
66
66
# 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
69
69
70
70
# Create an opensearch user, group
71
71
RUN groupadd -g $GID opensearch && \
@@ -115,5 +115,5 @@ LABEL org.label-schema.schema-version="1.0" \
115
115
"DOCKERFILE" ="https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/dockerfiles/opensearch.al2.dockerfile"
116
116
117
117
# CMD to run
118
- ENTRYPOINT [". /tini" , "--" , "./opensearch-docker-entrypoint.sh" ]
118
+ ENTRYPOINT ["/bin /tini" , "--" , "./opensearch-docker-entrypoint.sh" ]
119
119
CMD ["opensearch" ]
You can’t perform that action at this time.
0 commit comments