Skip to content

Commit

Permalink
ci: adding DOCKER_BUILD_ROOT docker arg for dev build (GreptimeTeam…
Browse files Browse the repository at this point in the history
…#3241)

Update Dockerfile
  • Loading branch information
MichaelScofield authored Jan 25, 2024
1 parent 673a4bd commit 2d57bf0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/ci/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM ubuntu:22.04

# The root path under which contains all the dependencies to build this Dockerfile.
ARG DOCKER_BUILD_ROOT=.

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
COPY $DOCKER_BUILD_ROOT/docker/python/requirements.txt /etc/greptime/requirements.txt

RUN python3 -m pip install -r /etc/greptime/requirements.txt

Expand Down

0 comments on commit 2d57bf0

Please sign in to comment.