File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,6 +144,4 @@ ENV catalyst_dir="/opt/catalyst/lib/cmake/catalyst-2.0"
144144RUN export VERBOSE=1 \
145145 && bash pdi/bin/build_and_run_all_tests
146146
147-
148-
149147FROM main
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ ENV HOME=/home/ci
7272USER ci:ci
7373WORKDIR ${HOME}
7474
75- # # chmod -R o+rX .
7675FROM main AS builder_catalyst
7776USER root
7877
@@ -117,23 +116,20 @@ else
117116fi
118117EORUN
119118
120- USER ci
121-
122119FROM alpine/git AS pdidl
123120
124121# RUN git -C /root clone --recurse-submodules https://github.com/pdidev/pdi.git /root/pdi
125122RUN git -C /root clone -b catalyst-plugin --recurse-submodules https://github.com/francois-kitware/pdi /root/pdi
126123
127124FROM main AS test
128-
125+ USER ci
129126COPY --from=pdidl --chown=ci:ci /root/pdi /home/ci/pdi
130127COPY --from=builder_catalyst --chown=ci:ci /opt/catalyst /opt/catalyst
131128
132129WORKDIR ${HOME}
133130# # Add env varible for catalyst lib
134131ENV LD_LIBRARY_PATH="/opt/catalyst/lib"
135132ENV catalyst_dir="/opt/catalyst/lib/cmake/catalyst-2.0"
136- # # add to check if catalyst_dir is needed
137133
138134RUN export VERBOSE=1 \
139135 && bash pdi/bin/build_and_run_all_tests
You can’t perform that action at this time.
0 commit comments