ud3tn/test/dockerfiles/ion-interop
Maximilian Nitsch e51d4ab992 test/dockerfiles: Update docker images
- 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
2024-07-24 17:59:10 +02:00

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