Skip to content

Commit

Permalink
Adding some debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
briedel authored Aug 16, 2023
1 parent f4e81fa commit e7667d0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions install_icetray/Dockerfile_install
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG TARGET_UBUNTU=ubuntu20.04
ARG CMAKE_CXX_STANDARD=11
ARG CMAKE_CXX_STANDARD=14
FROM icecube/icetray-base:devel-${TARGET_UBUNTU} as install

MAINTAINER IceCube <[email protected]>
Expand All @@ -15,15 +15,18 @@ RUN mkdir /root/icetray && mkdir /root/icetray/build

## GitHub clone
## Most recent release..
ARG VERSION=v1.4.1
ARG VERSION=v1.7.2
RUN --mount=type=secret,id=GHTOKEN GHTOKEN=$(cat /run/secrets/GHTOKEN) && \
git clone -c advice.detachedHead=false --depth 1 -b ${VERSION} https://oauth:${GHTOKEN}@github.com/icecube/icetray.git /usr/local/icetray_src
RUN echo ${VERSION} > /usr/local/icetray_src/version_tag
RUN echo ${CMAKE_CXX_STANDARD} > /usr/local/icetray_src/cxx_standard

RUN env | sort

# build icetray
WORKDIR /root/icetray/build
RUN cmake /usr/local/icetray_src \
-DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} \
-DCMAKE_CXX_STANDARD= \
-DCMAKE_BUILD_TYPE=Release \
-DINSTALL_TOOL_LIBS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr/local/icetray \
Expand Down

0 comments on commit e7667d0

Please sign in to comment.