mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-16 13:01:06 +02:00
- ION: 4.0.1 => 4.1.3 - IONe: 1.0.1 => 1.1.0 - HDTN: 1.0.0 => 1.3.1 - DTN7: 0.19.0-732d1a0 => 0.21.0 For ION-DTN>=4.1.1 the official distribution site has moved to GitHub[^1]. [^1]: https://github.com/nasa-jpl/ION-DTN
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
# ION Dockerfile that contains the Python dependencies for interoperability tests
|
|
|
|
FROM buildpack-deps:bullseye
|
|
|
|
RUN apt-get update && \
|
|
apt-get dist-upgrade -y && \
|
|
apt-get install python3-venv python3-pip -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
ARG ARCHIVE_URL
|
|
ENV ARCHIVE=ion.tar.gz
|
|
|
|
RUN mkdir /ion_build && cd /ion_build && \
|
|
wget -O "$ARCHIVE" "$ARCHIVE_URL" && \
|
|
tar -xvf "$ARCHIVE" && \
|
|
rm "$ARCHIVE"
|
|
|
|
RUN ls -lah /ion_build
|
|
|
|
RUN cd /ion_build/*ion-open-source* && \
|
|
autoreconf -fi && \
|
|
CPPFLAGS=-Wno-maybe-uninitialized ./configure && \
|
|
make -j4 && \
|
|
make install && \
|
|
ldconfig && \
|
|
cd / && \
|
|
rm -r /ion_build
|
|
|
|
COPY ./pyd3tn/requirements.txt /req-pyd3tn.txt
|
|
COPY ./python-ud3tn-utils/requirements.txt /req-utils.txt
|
|
COPY ./test/integration/requirements.txt /req-test.txt
|
|
COPY ./tools/analysis/requirements.txt /req-analysis.txt
|
|
|
|
RUN python3 -m venv /ud3tn_venv && \
|
|
/ud3tn_venv/bin/python -m pip install --no-cache-dir -U setuptools pip wheel && \
|
|
/ud3tn_venv/bin/python -m pip install --no-cache-dir -U -r /req-pyd3tn.txt && \
|
|
/ud3tn_venv/bin/python -m pip install --no-cache-dir -U -r /req-utils.txt && \
|
|
/ud3tn_venv/bin/python -m pip install --no-cache-dir -U -r /req-test.txt && \
|
|
/ud3tn_venv/bin/python -m pip install --no-cache-dir -U -r /req-analysis.txt
|