14 lines
No EOL
484 B
Docker
14 lines
No EOL
484 B
Docker
FROM alpine:3.21 AS builder
|
|
WORKDIR /root
|
|
RUN apk add --no-cache build-base git make && \
|
|
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git
|
|
WORKDIR /root/vlmcsd
|
|
RUN make LDFLAGS=-static
|
|
|
|
FROM jonasled.dev/infra/images/scratch-rootless@sha256:b29ee9170c65f2825d77f1c8d97c6ae138f76fb3a150454eb6eb87e7767fba4b
|
|
WORKDIR /root/
|
|
COPY --from=builder /root/vlmcsd/bin/vlmcsd /vlmcsd
|
|
EXPOSE 1688/tcp
|
|
USER containeruser
|
|
ENTRYPOINT [ "/vlmcsd" ]
|
|
CMD ["-D", "-d" ] |