Skip to content
Snippets Groups Projects

F refactor pipe

Merged Henrik tom Wörden requested to merge f-refactor-pipe into dev
Files
3
+ 24
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
 
 
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
FROM debian:bookworm
RUN apt-get update && \
RUN apt-get update && \
apt-get install \
apt-get install \
@@ -26,13 +49,8 @@ ADD https://gitlab.indiscale.com/api/v4/projects/104/repository/commits/${ADVANC
@@ -26,13 +49,8 @@ ADD https://gitlab.indiscale.com/api/v4/projects/104/repository/commits/${ADVANC
advanced_version.json
advanced_version.json
RUN git clone https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git && \
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]
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
COPY --from=git_base /git /git
RUN mv /git/.docker/tester_pycaosdb.ini /git/integrationtests/pycaosdb.ini
RUN cd /git/ && pip3 install --break-system-packages .[h5-crawler,spss,rocrate]
RUN cd /git/ && pip3 install --break-system-packages .[h5-crawler,spss,rocrate]
Loading