mirror of https://github.com/IoTcat/kms-docker.git
parent
c20f6eff2d
commit
50e95c5262
1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
||||
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/iotcat/vlmcsd.git && \ |
||||
cd vlmcsd/ && \ |
||||
make |
||||
|
||||
FROM alpine:latest |
||||
WORKDIR /root/ |
||||
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd |
||||
EXPOSE 1688/tcp |
||||
CMD [ "/usr/bin/vlmcsd", "-D", "-d" ] |
Loading…
Reference in new issue