mkp224o/contrib/docker/Dockerfile
Stefin d392ec642c
Update contrib/docker/Dockerfile
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2020-08-09 09:25:37 -05:00

17 lines
323 B
Docker

FROM alpine:3.12.0
#Installing all the dependencies
RUN apk add --no-cache gcc libsodium-dev make autoconf build-base
WORKDIR /mkp224o
COPY . /mkp224o/
RUN ./autogen.sh \
&& ./configure \
&& make \
&& cp /mkp224o/mkp224o /usr/local/bin/
WORKDIR /root
VOLUME /root/data
ENTRYPOINT ["mkp224o", "-d", "/root/data"]