This is an automated email from the ASF dual-hosted git repository. chunshao pushed a commit to tag v2.0.0-rc.5 in repository https://gitbox.apache.org/repos/asf/incubator-horaedb.git
commit 1c56d2b1d70fc740fc6a62b92b4ac0cbd5f904d7 Author: Jiacai Liu <[email protected]> AuthorDate: Mon Mar 18 19:05:23 2024 +0800 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 ``` --- .gitignore | 1 + Dockerfile | 3 ++- docker/tini | Bin 24064 -> 0 bytes horaemeta/Dockerfile | 3 ++- horaemeta/docker/tini | Bin 24064 -> 0 bytes 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1cdba5be..f3b4b08a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ integration_tests/dist_query/output .tools bin coverage.txt +tini diff --git a/Dockerfile b/Dockerfile index 0de3d643..6e94e51a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,8 @@ RUN chmod +x /usr/bin/horaedb-server COPY ./docker/entrypoint.sh /entrypoint.sh COPY ./docs/minimal.toml /etc/horaedb/horaedb.toml -COPY ./docker/tini /tini +ARG TINI_VERSION=v0.19.0 +ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini ARG USER=horae diff --git a/docker/tini b/docker/tini deleted file mode 100644 index 03af82f0..00000000 Binary files a/docker/tini and /dev/null differ diff --git a/horaemeta/Dockerfile b/horaemeta/Dockerfile index 5841c2a8..9512582a 100644 --- a/horaemeta/Dockerfile +++ b/horaemeta/Dockerfile @@ -44,7 +44,8 @@ RUN chmod +x /usr/bin/horaemeta-server COPY ./docker/entrypoint.sh /entrypoint.sh COPY ./config/example-standalone.toml /etc/horaemeta/horaemeta.toml -COPY ./docker/tini /tini +ARG TINI_VERSION=v0.19.0 +ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini ARG USER horae diff --git a/horaemeta/docker/tini b/horaemeta/docker/tini deleted file mode 100644 index 03af82f0..00000000 Binary files a/horaemeta/docker/tini and /dev/null differ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
