Migrate docker from ubuntu to alpine.
This commit is contained in:
parent
c3017069b1
commit
50a48ae092
@ -1,8 +1,8 @@
|
||||
FROM ubuntu
|
||||
FROM alpine
|
||||
WORKDIR /mpw/cli
|
||||
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 mpw-tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user