File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # syntax=docker/dockerfile:latest
2-
31ARG starenv=root5
42
53# Pick one from [gcc485, gcc11]
@@ -23,18 +21,16 @@ COPY . ${STAR}
2321
2422SHELL ["/bin/bash" , "-l" , "-c" ]
2523
26- RUN <<EOF
27- set -e
28- [[ $compiler = "gcc485" ]] && EXTRA_CXXFLAGS="-Werror" || EXTRA_CXXFLAGS=""
29- cons EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS"
30- find .$STAR_HOST_SYS -name *.o -exec rm '{}' \;
31- EOF
24+ RUN set -e; \
25+ if [ "$compiler" = "gcc485" ]; then EXTRA_CXXFLAGS="-Werror" ; else EXTRA_CXXFLAGS="" ; fi; \
26+ cons EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS" ; \
27+ find ".$STAR_HOST_SYS" -name '*.o' -exec rm '{}' \;
3228
33- COPY --chmod=0755 <<- " EOF" /opt/entrypoint.sh
34- # !/bin/bash -l
35- set -e
36- install $STAR/StRoot/macros/.rootrc .
37- exec "$@"
29+ RUN cat > /opt/entrypoint.sh << ' EOF' && chmod 0755 /opt/entrypoint.sh
30+ # !/bin/bash -l
31+ set -e
32+ install " $STAR/StRoot/macros/.rootrc" .
33+ exec "$@"
3834EOF
3935
4036ENTRYPOINT ["/opt/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments