mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-25 23:49:58 +00:00
fix: $TARGET_BIN not found when docker run the image (#3297)
* fix: TARGET_BIN path * chore: return available versions * refactor: Use ENV instead of ARG in ci dockerfile * chore: add TARGET_BIN ENV pass to ENTRYPOINT * chore: add TARGET_BIN ENV pass to ENTRYPOINT * chore: update entrypoint * chore: update entrypoint
This commit is contained in:
@@ -23,4 +23,6 @@ ADD $TARGETARCH/$TARGET_BIN /greptime/bin/
|
|||||||
|
|
||||||
ENV PATH /greptime/bin/:$PATH
|
ENV PATH /greptime/bin/:$PATH
|
||||||
|
|
||||||
ENTRYPOINT ["$TARGET_BIN"]
|
ENV TARGET_BIN=$TARGET_BIN
|
||||||
|
|
||||||
|
ENTRYPOINT ["sh", "-c", "exec $TARGET_BIN \"$@\"", "--"]
|
||||||
|
|||||||
Reference in New Issue
Block a user