remove generate stap from image

Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
Christian Richter
2025-02-24 09:22:33 +01:00
parent 712ce06a58
commit 9545fccbef
2 changed files with 5 additions and 11 deletions
+1 -11
View File
@@ -1,19 +1,9 @@
FROM owncloudci/nodejs:18 AS generate
ARG TARGETARCH
COPY ./ /opencloud/
WORKDIR /opencloud/opencloud
ARG TARGETARCH
RUN make ci-node-generate
FROM golang:alpine3.20 AS build
ARG TARGETARCH
RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools vips-dev
COPY --from=generate /opencloud /opencloud
COPY ./ /opencloud/
WORKDIR /opencloud/opencloud
RUN GOOS=linux GOARCH="${TARGETARCH}" make ci-go-generate build ENABLE_VIPS=true