Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit 1c56d2b

Browse files
jiacai2050chunshao90
authored andcommitted
chore: remove tini binary (#1503)
## Rationale Our repo should not contain any binaries. ## Detailed Changes - Download tini instead of hard copy ## Test Plan CI Also I use command below to ensure no other binaries exists. ``` fd -t file --exclude target --exec file {} \; | grep -v ASCII | grep -v UTF-8 ```
1 parent 03fa16a commit 1c56d2b

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ integration_tests/dist_query/output
1010
.tools
1111
bin
1212
coverage.txt
13+
tini

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ RUN chmod +x /usr/bin/horaedb-server
4646
COPY ./docker/entrypoint.sh /entrypoint.sh
4747
COPY ./docs/minimal.toml /etc/horaedb/horaedb.toml
4848

49-
COPY ./docker/tini /tini
49+
ARG TINI_VERSION=v0.19.0
50+
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
5051
RUN chmod +x /tini
5152

5253
ARG USER=horae

docker/tini

-23.5 KB
Binary file not shown.

horaemeta/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ RUN chmod +x /usr/bin/horaemeta-server
4444
COPY ./docker/entrypoint.sh /entrypoint.sh
4545
COPY ./config/example-standalone.toml /etc/horaemeta/horaemeta.toml
4646

47-
COPY ./docker/tini /tini
47+
ARG TINI_VERSION=v0.19.0
48+
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
4849
RUN chmod +x /tini
4950

5051
ARG USER horae

horaemeta/docker/tini

-23.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)