2
0

Migrate docker from ubuntu to alpine.

This commit is contained in:
Maarten Billemont 2018-06-05 21:25:38 -04:00
parent c3017069b1
commit 50a48ae092

View File

@ -1,8 +1,8 @@
FROM ubuntu FROM alpine
WORKDIR /mpw/cli WORKDIR /mpw/cli
ADD . /mpw ADD . /mpw
RUN apt-get update && apt -y install cmake libsodium-dev libjson-c-dev libncurses-dev libxml2-dev RUN apk update && apk add cmake make gcc musl-dev ncurses-dev libsodium-dev json-c-dev libxml2-dev
RUN cmake -DBUILD_MPW_TESTS=ON . && make install RUN cmake -DBUILD_MPW_TESTS=ON . && make install
RUN mpw-tests RUN mpw-tests