feat: bootstrap zapret2 autotune
Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
commit
043df9ff77
17 files changed
+1635
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.25.3 AS build
|
||||
WORKDIR /src
|
||||
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOPROXY=off
|
||||
COPY go.mod ./
|
||||
COPY cmd/ ./cmd/
|
||||
RUN go build -trimpath -o /out/zapret-autotune ./cmd/zapret-autotune
|
||||
|
||||
FROM vernette/ss-zapret2@sha256:ba158180f27cd71a291ee521c291490374fd3fcf2f81eb1434ddfb19d35de45b
|
||||
COPY --from=build /out/zapret-autotune /usr/local/bin/zapret-autotune
|
||||
COPY autotune-entrypoint.sh /opt/autotune-entrypoint.sh
|
||||
USER root
|
||||
ENTRYPOINT ["/bin/sh", "/opt/autotune-entrypoint.sh"]
|
||||
CMD ["status"]
|
||||
Reference in new issue
Block a user