We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d16cef3 + 168c4d5 commit e7ad0b4Copy full SHA for e7ad0b4
Dockerfile
@@ -1,14 +1,16 @@
1
-FROM fedora:latest AS builder
+FROM redhat/ubi9:latest AS builder
2
3
WORKDIR /usr/src/clever-operator
4
ADD src src
5
ADD Cargo.toml .
6
ADD Cargo.lock .
7
8
-RUN dnf update -y && dnf install cargo openssl-devel -y
9
-RUN cargo build --release
+RUN dnf update -y && dnf install gcc openssl-devel -y
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --verbose -y \
10
+ && export PATH="$HOME/.cargo/bin:$PATH" \
11
+ && cargo build --release
12
-FROM fedora:latest
13
+FROM redhat/ubi9:latest
14
15
MAINTAINER Florentin Dubois <florentin.dubois@clever-cloud.com>
16
LABEL name="clever-operator" \
0 commit comments