spectre-cli/Dockerfile

10 lines
232 B
Text
Raw Normal View History

2018-06-06 03:25:38 +02:00
FROM alpine
WORKDIR /spectre/cli
ADD . /spectre
2018-06-06 03:25:38 +02:00
RUN apk update && apk add cmake make gcc musl-dev ncurses-dev libsodium-dev json-c-dev libxml2-dev
RUN cmake -DBUILD_SPECTRE_TESTS=ON . && make install
RUN spectre-tests
CMD spectre