mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
- add sqlite and jansson dependencies, which were missing - use newest supported Python release Closes: #238 Signed-off-by: Felix Walter <felix.walter@d3tn.com>
17 lines
505 B
Text
17 lines
505 B
Text
FROM python:3.13
|
|
COPY . /ud3tn
|
|
|
|
RUN apt-get update && \
|
|
apt-get dist-upgrade -y && \
|
|
apt-get install -y sqlite3 libjansson-dev && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN cd /ud3tn \
|
|
&& ARCH=x86-64 make posix posix-lib -j4 \
|
|
&& cp /ud3tn/build/posix/ud3tn /usr/local/bin/ud3tn -v \
|
|
&& cp /ud3tn/build/posix/libud3tn.so /usr/local/lib/libud3tn.so -v \
|
|
&& make clean
|
|
|
|
RUN pip install --no-cache-dir /ud3tn/pyd3tn /ud3tn/python-ud3tn-utils
|
|
ENTRYPOINT [ "ud3tn" ]
|