Fix the containerfile again
All checks were successful
ci/woodpecker/push/build-container Pipeline was successful
All checks were successful
ci/woodpecker/push/build-container Pipeline was successful
Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
@@ -7,9 +7,10 @@ WORKDIR /src
|
||||
COPY . .
|
||||
RUN cargo build --release
|
||||
WORKDIR /output
|
||||
RUN cp /src/target/release/rustfs-operator .
|
||||
RUN cp /src/target/release/rustfs-manager-operator .
|
||||
|
||||
FROM alpine:3.23
|
||||
COPY --from=rc /output/rc /usr/bin/rc
|
||||
COPY --from=builder /output/rustfs-operator /usr/bin/rustfs-manager-operator
|
||||
CMD /usr/bin/rustfs-manager-operator
|
||||
COPY --from=builder /output/rustfs-manager-operator /usr/bin/controller
|
||||
USER 1001
|
||||
CMD /usr/bin/controller
|
||||
|
||||
Reference in New Issue
Block a user