mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2026-03-22 08:38:11 +05:00
config codegen
This commit is contained in:
@@ -13,6 +13,9 @@ RUN templ generate
|
||||
RUN go install github.com/dlclark/regexp2cg@main
|
||||
RUN go generate ./lib/*
|
||||
|
||||
RUN go install github.com/maid-zone/soundcloakctl@master
|
||||
RUN soundcloakctl config codegen
|
||||
|
||||
RUN CGO_ENABLED=0 GOARCH=${TARGETARCH} GOOS=${TARGETOS} go build -ldflags "-s -w -extldflags '-static' -X main.commit=`git rev-parse HEAD | head -c 7` -X main.repo=`git remote get-url origin`" -o ./app
|
||||
RUN echo "soundcloak:x:5000:5000:Soundcloak user:/:/sbin/nologin" > /etc/minimal-passwd && \
|
||||
echo "soundcloak:x:5000:" > /etc/minimal-group
|
||||
|
||||
Reference in New Issue
Block a user