just do it

This commit is contained in:
2023-10-20 02:20:27 +00:00
parent 8f3ec4c34f
commit f5d2c0f612
5 changed files with 37 additions and 63 deletions

View File

@@ -1,6 +1,8 @@
FROM registry.local/rgbarm64lib:latest as builder
WORKDIR /usr/src/app/rgb
COPY . .
ENV GOPRIVATE=gitea.wagshome.duckdns.org
ENV GONOSUMBDB=gitea.wagshome.duckdns.org
RUN go mod tidy
RUN CGO_ENABLED=1 go build --ldflags '-linkmode external -extldflags=-static'
RUN mkdir -p /usr/src/app/work/