Skip to content

Commit f6843d4

Browse files
committed
[#104222] manager: Add rdfm-mgmt dockerfile
1 parent ce9e592 commit f6843d4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

manager/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM python:3.11.4-bookworm
2+
# This Dockerfile assumes that the build starts with the current
3+
# directory set to the monorepository root
4+
5+
# Install dependencies
6+
RUN apt -qq -y update && apt -qq -y install --no-install-recommends curl openssl pipx
7+
RUN export PATH="/root/.local/bin:${PATH}"
8+
RUN pip3 install --upgrade pip
9+
RUN pip3 install poetry
10+
11+
# Copy all sources
12+
# We do this after installing the main dependencies to avoid
13+
# unnecessary reinstalls
14+
COPY . /rdfm/
15+
WORKDIR /rdfm/
16+
17+
# Build and install rdfm-mgmt, this also pulls in any
18+
# required Python dependencies
19+
RUN pip3 install -e ./common/communication
20+
RUN pip3 install -e ./manager

0 commit comments

Comments
 (0)