Skip to content

Commit

Permalink
chore: add TARGET_BIN ENV pass to ENTRYPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 committed Feb 12, 2024
1 parent 0daa30f commit c7aa8c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/ci/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -24,4 +23,6 @@ ADD $TARGETARCH/$TARGET_BIN /greptime/bin/

ENV PATH /greptime/bin/:$PATH

ENV TARGET_BIN=$TARGET_BIN

ENTRYPOINT ["$TARGET_BIN"]

0 comments on commit c7aa8c5

Please sign in to comment.