Skip to content

Commit

Permalink
update cxx version and fix which branch we install (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult authored Sep 25, 2023
1 parent a72d794 commit 4f83edc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install_icetray/Dockerfile_install
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG TARGET_UBUNTU=ubuntu20.04
FROM icecube/icetray-base:devel-${TARGET_UBUNTU} as install

ARG CMAKE_CXX_STANDARD=14
ARG CMAKE_CXX_STANDARD=17
ARG VERSION=v1.7.2


Expand All @@ -23,9 +23,9 @@ RUN echo $VERSION

RUN mkdir /usr/local/icetray_src
WORKDIR /usr/local/icetray_src
RUN git init && git config advice.detachedHead false
RUN git init -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
git pull --depth 1 https://${GHTOKEN}@github.com/icecube/icetray.git ${VERSION}
RUN echo ${VERSION} > /usr/local/icetray_src/version_tag
RUN echo ${CMAKE_CXX_STANDARD} > /usr/local/icetray_src/cxx_standard

Expand Down

0 comments on commit 4f83edc

Please sign in to comment.