working commit
This commit is contained in:
+3
-2
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.20 as builder
|
||||
FROM alpine:3.20 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
|
||||
@@ -14,7 +14,8 @@ RUN make all install
|
||||
RUN make clean
|
||||
RUN rm -rf /app/src
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.20 AS runner
|
||||
|
||||
COPY --from=builder /app /app
|
||||
RUN chmod 1777 /var
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user