Skip to content
Snippets Groups Projects

F refactor pipe

Merged Henrik tom Wörden requested to merge f-refactor-pipe into dev
All threads resolved!
Files
4
+ 27
6
###############################
###### Temporary Image ########
###############################
FROM debian:bookworm as git_base
# Check for availability of DNS
RUN if getent hosts indiscale.com > /dev/null; \
then echo "Connected to the internet and DNS available"; \
else echo "No internet connection or DNS not available"; \
fi
RUN apt-get update && apt-get install -y \
git
COPY . /git
# Delete .git because it is huge.
RUN rm -r /git/.git
# Install pycaosdb.ini for the tests
RUN mv /git/.docker/tester_pycaosdb.ini /git/integrationtests/pycaosdb.ini
###############################
###### Main Image Build #######
###############################
FROM debian:bookworm
RUN apt-get update && \
apt-get install \
@@ -26,13 +52,8 @@ ADD https://gitlab.indiscale.com/api/v4/projects/104/repository/commits/${ADVANC
advanced_version.json
RUN git clone https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git && \
cd caosdb-advanced-user-tools && git checkout ${ADVANCED} && pip3 install --break-system-packages .[h5-crawler]
COPY . /git
# Delete .git because it is huge.
RUN rm -r /git/.git
# Install pycaosdb.ini for the tests
RUN mv /git/.docker/tester_pycaosdb.ini /git/integrationtests/pycaosdb.ini
COPY --from=git_base /git /git
RUN cd /git/ && pip3 install --break-system-packages .[h5-crawler,spss,rocrate]
Loading