FROM ubuntu:latest # The binary name of GreptimeDB executable. # Defaults to "greptime", but sometimes in other projects it might be different. ARG TARGET_BIN=greptime RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates \ curl ARG BINARY_PATH ADD $BINARY_PATH/$TARGET_BIN /greptime/bin/ ENV PATH /greptime/bin/:$PATH ENTRYPOINT ["greptime"]