From 3bd7bfeca90f5867006f7f013b57905f263f13f9 Mon Sep 17 00:00:00 2001 From: rain Date: Wed, 5 Oct 2016 21:30:12 +0800 Subject: [PATCH] use release versioning avoids problems with version pragmas and nightly versioning (which is assumed strictly less than the equivalent release version) --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index a364450..4faa6d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,10 @@ RUN cd jsoncpp \ WORKDIR /src/solidity/build RUN git checkout v0.4.2 + +# don't use nightly versioning for releases +RUN echo -n > ../prerelease.txt + RUN cmake -DCMAKE_BUILD_TYPE=Release \ -DTESTS=1 \ -DSTATIC_LINKING=1 \