Add Dockerfile MMDVMHost

This commit is contained in:
f4hlv 2018-01-04 00:39:43 +01:00
parent 8437c4388f
commit 80bae4529e

23
Dockerfile Normal file
View file

@ -0,0 +1,23 @@
FROM alpine
RUN apk add --update --no-cache \
cmake \
make \
g++ \
git \
&& rm -rf /var/cache/apk/*
ADD ./ /MMDVMHost
WORKDIR /MMDVMHost
RUN make \
&& cp MMDVMHost /usr/local/bin
RUN mkdir /var/log/mmdvmhost
VOLUME /MMDVMHost
VOLUME /var/log/mmdvmhost
WORKDIR /MMDVMHost
CMD ["MMDVMHost", "/MMDVMHost/MMDVM.ini"]