upgdate log rotation

This commit is contained in:
2026-03-25 09:29:17 +02:00
parent fe2376b615
commit 8e7a0fffa7
9 changed files with 88 additions and 68 deletions
+6 -4
View File
@@ -1,7 +1,7 @@
FROM alpine:3.20 AS builder
FROM alpine:3.23 AS builder
RUN apk --no-cache add make binutils gcc libc-dev automake autoconf curl
RUN curl -o /usr/local/lib/go.tar.gz https://dl.google.com/go/go1.25.5.linux-amd64.tar.gz
RUN curl -o /usr/local/lib/go.tar.gz https://dl.google.com/go/go1.25.6.linux-amd64.tar.gz
RUN cd /usr/local/lib && tar xzf go.tar.gz
RUN cd /usr/local/bin && ln -sf ../lib/go/bin/* .
@@ -14,11 +14,13 @@ RUN make all install
RUN make clean
RUN rm -rf /app/src
FROM alpine:3.20 AS runner
FROM alpine:3.23 AS runner
COPY --from=builder /app /app
RUN chmod 1777 /var
RUN mkdir -p /app/etc/mstore
RUN touch /app/etc/mstore/mstored.yaml
WORKDIR /app
#USER daemon:daemon
ENTRYPOINT ["/app/sbin/mstored"]
ENTRYPOINT ["/app/sbin/mstored", "--asDaemon=false", "--port=1025"]