added docker support

This commit is contained in:
Stef 2020-08-06 00:28:57 -05:00
parent 2e0344928f
commit 95a7e0580a
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,4 @@
Dockerfile
.dockerignore
README.txt
.git

16
contrib/docker/Dockerfile Normal file
View file

@ -0,0 +1,16 @@
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
ENTRYPOINT ["mkp224o"]