mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
* ci: install python requests lib in release container image * refactor: add requirements.txt
20 lines
398 B
Docker
20 lines
398 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
|
|
|
|
COPY 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"]
|