mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 13:52:59 +00:00
* refactor: unify the make targets of building images * refactor: make Dockerfile more clean 1. Add dev-builder image to build greptime binary easily; 2. Add 'docker/ci/Dockerfile-centos' to release centos image; 3. Delete Dockerfile of aarch64 and just need to use one Dockerfile; Signed-off-by: zyy17 <zyylsxm@gmail.com> --------- Signed-off-by: zyy17 <zyylsxm@gmail.com>
21 lines
425 B
Docker
21 lines
425 B
Docker
FROM ubuntu:22.04
|
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
ca-certificates \
|
|
python3.10 \
|
|
python3.10-dev \
|
|
python3-pip \
|
|
curl
|
|
|
|
COPY ./docker/python/requirements.txt /etc/greptime/requirements.txt
|
|
|
|
RUN python3 -m pip install -r /etc/greptime/requirements.txt
|
|
|
|
ARG TARGETARCH
|
|
|
|
ADD $TARGETARCH/greptime /greptime/bin/
|
|
|
|
ENV PATH /greptime/bin/:$PATH
|
|
|
|
ENTRYPOINT ["greptime"]
|