docker-vlmcsd/Dockerfile
embii74 87127f4566 Add verbose logging to console
Logging to console automatically logs to docker.
2017-03-24 07:38:17 +01:00

20 lines
484 B
Docker

FROM alpine:latest
RUN apk update \
&& apk upgrade \
&& apk add --no-cache build-base gcc abuild binutils cmake git \
&& cd / \
&& git clone https://github.com/Wind4/vlmcsd.git vlmgit \
&& cd vlmgit \
&& make \
&& chmod +x bin/vlmcsd \
&& mv bin/vlmcsd / \
&& cd / \
&& apk del build-base gcc abuild binutils cmake git \
&& rm -rf /vlmgit \
&& rm -rf /var/cache/apk/*
EXPOSE 1688
CMD ["/vlmcsd", "-D", "-d", "-t", "3", "-e", "-v"]