mirror of
https://github.com/teddysun/across.git
synced 2025-10-08 22:05:34 +08:00
Update Dockerfile
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Dockerfile for KMS Server
|
||||
# Copyright (C) 2018 - 2020 Teddysun <i@teddysun.com>
|
||||
# Copyright (C) 2018 - 2024 Teddysun <i@teddysun.com>
|
||||
# Reference URL:
|
||||
# https://github.com/Wind4/vlmcsd
|
||||
|
||||
|
@@ -3,14 +3,14 @@
|
||||
# Reference URL:
|
||||
# https://github.com/Wind4/vlmcsd
|
||||
|
||||
FROM --platform=$TARGETPLATFORM alpine:latest AS builder
|
||||
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 --platform=$TARGETPLATFORM alpine:latest
|
||||
FROM alpine:latest
|
||||
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||
|
||||
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
|
||||
|
Reference in New Issue
Block a user