diff --git a/docker/ci/ubuntu/Dockerfile b/docker/ci/ubuntu/Dockerfile index 56edc84e4322..5d4dd129a6f0 100644 --- a/docker/ci/ubuntu/Dockerfile +++ b/docker/ci/ubuntu/Dockerfile @@ -5,7 +5,6 @@ ARG DOCKER_BUILD_ROOT=. # The binary name of GreptimeDB executable. # Defaults to "greptime", but sometimes in other projects it might be different. ARG TARGET_BIN=greptime -ENV TARGET_BIN=$TARGET_BIN RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates \ @@ -24,4 +23,6 @@ ADD $TARGETARCH/$TARGET_BIN /greptime/bin/ ENV PATH /greptime/bin/:$PATH +ENV TARGET_BIN=$TARGET_BIN + ENTRYPOINT ["$TARGET_BIN"]