Skip to content

Commit

Permalink
chore: update entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 committed Feb 15, 2024
1 parent c7aa8c5 commit be2a63d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/ci/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ COPY $DOCKER_BUILD_ROOT/docker/python/requirements.txt /etc/greptime/requirement

RUN python3 -m pip install -r /etc/greptime/requirements.txt

ARG TARGETARCH
#ARG TARGETARCH

ADD $TARGETARCH/$TARGET_BIN /greptime/bin/
ADD $TARGET_BIN /greptime/bin/

ENV PATH /greptime/bin/:$PATH

ENV TARGET_BIN=$TARGET_BIN

ENTRYPOINT ["$TARGET_BIN"]
ENTRYPOINT ["sh", "-c", "exec $TARGET_BIN \"$@\"", "--"]

0 comments on commit be2a63d

Please sign in to comment.