2018-07-03 22:57:20 +09:00
|
|
|
# Dockerfile for KMS Server
|
2024-12-29 23:22:33 +09:00
|
|
|
# Copyright (C) 2018 - 2024 Teddysun <i@teddysun.com>
|
2018-07-03 22:57:20 +09:00
|
|
|
# Reference URL:
|
|
|
|
# https://github.com/Wind4/vlmcsd
|
|
|
|
|
2020-01-30 20:47:18 +09:00
|
|
|
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
|
|
|
|
|
2018-07-03 22:57:20 +09:00
|
|
|
FROM alpine:latest
|
2018-11-06 20:33:59 +09:00
|
|
|
LABEL maintainer="Teddysun <i@teddysun.com>"
|
2018-07-03 22:57:20 +09:00
|
|
|
|
2020-01-30 20:47:18 +09:00
|
|
|
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
|
2018-07-03 22:57:20 +09:00
|
|
|
EXPOSE 1688
|
2020-07-06 11:03:06 +09:00
|
|
|
CMD [ "/usr/bin/vlmcsd", "-D", "-e" ]
|