File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,17 @@ RUN tar -xzvf helm-v3.13.2-linux-${TARGETARCH}.tar.gz
19
19
RUN unzip reliza-cli-2024.07.5-linux-${TARGETARCH}.zip
20
20
RUN mv kubectl-${TARGETARCH} kubectl
21
21
22
- FROM alpine:3.20 @sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0 as release-stage
22
+ FROM alpine:3.22.1 @sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 as release-stage
23
23
ARG TARGETARCH
24
24
ARG CI_ENV=noci
25
25
ARG GIT_COMMIT=git_commit_undefined
26
26
ARG GIT_BRANCH=git_branch_undefined
27
27
ARG VERSION=not_versioned
28
28
ENV ARGO_HELM_VERSION=5.51.6
29
- RUN mkdir -p /app/workspace && mkdir /app/tools
30
29
RUN adduser -u 1000 -D apprunner && chown apprunner:apprunner -R /app
30
+ USER apprunner
31
+ RUN mkdir -p /app/workspace && mkdir /app/tools
32
+ USER root
31
33
COPY --from=build-stage --chown=apprunner:apprunner /build/reliza-cd /app/reliza-cd
32
34
COPY --from=build-stage --chown=apprunner:apprunner /build/kubeseal /app/tools/kubeseal
33
35
COPY --from=build-stage --chown=apprunner:apprunner /build/kubectl /app/tools/kubectl
You can’t perform that action at this time.
0 commit comments