Skip to content

Commit

Permalink
work with git older than 2.28
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Sep 25, 2023
1 parent 4f83edc commit 727ec14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_icetray/Dockerfile_install
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN echo $VERSION

RUN mkdir /usr/local/icetray_src
WORKDIR /usr/local/icetray_src
RUN git init -b ${VERSION} && git config advice.detachedHead false
RUN git init && git checkout -b ${VERSION} && git config advice.detachedHead false
RUN --mount=type=secret,id=GHTOKEN GHTOKEN=$(cat /run/secrets/GHTOKEN) && curl -sS -f -I -H "Authorization: token ${GHTOKEN}" https://api.github.com && \
git pull --depth 1 https://${GHTOKEN}@github.com/icecube/icetray.git ${VERSION}
RUN echo ${VERSION} > /usr/local/icetray_src/version_tag
Expand Down

0 comments on commit 727ec14

Please sign in to comment.