mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
* ci: disable pyo3 build tasks * ci: skip installing python for windows * ci: also removed python dependencies from docker base image
22 lines
559 B
Docker
22 lines
559 B
Docker
FROM ubuntu:22.04
|
|
|
|
# The root path under which contains all the dependencies to build this Dockerfile.
|
|
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
|
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
ca-certificates \
|
|
curl
|
|
|
|
ARG TARGETARCH
|
|
|
|
ADD $TARGETARCH/$TARGET_BIN /greptime/bin/
|
|
|
|
ENV PATH /greptime/bin/:$PATH
|
|
|
|
ENV TARGET_BIN=$TARGET_BIN
|
|
|
|
ENTRYPOINT ["sh", "-c", "exec $TARGET_BIN \"$@\"", "--"]
|