Fix gitsha output in dockerfile (#4014)

This commit is contained in:
Johan Uhle 2017-05-05 15:55:48 +02:00 committed by GitHub
parent 35d7b7ceaf
commit 6ca46795aa

View File

@ -28,7 +28,7 @@ RUN NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \
echo "Building OSRM ${DOCKER_TAG}" && \
cd /src && \
git show --format="%H" | head -n1 > /opt/OSRM_GITSHA && \
echo "Building OSRM gitsha ${cat /opt/OSRM_GITSHA}" && \
echo "Building OSRM gitsha $(cat /opt/OSRM_GITSHA)" && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DENABLE_LTO=On .. && \