mirror of
https://github.com/mikolatero/docker-vlmcsd.git
synced 2024-11-13 03:34:57 +08:00
16 lines
439 B
Docker
16 lines
439 B
Docker
FROM alpine:latest as builder
|
|
WORKDIR /root
|
|
RUN apk add --no-cache git make build-base && \
|
|
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \
|
|
cd vlmcsd && \
|
|
make
|
|
|
|
FROM alpine:latest
|
|
COPY --from=builder /root/vlmcsd/bin/vlmcsd /vlmcsd
|
|
COPY --from=builder /root/vlmcsd/etc/vlmcsd.kmd /vlmcsd.kmd
|
|
RUN apk add --no-cache tzdata
|
|
|
|
EXPOSE 1688/tcp
|
|
|
|
CMD ["/vlmcsd", "-D", "-d", "-t", "3", "-e", "-v"]
|
|
|