Skip to content

Commit 08a927b

Browse files
Update Dockerfile to use fedora
Signed-off-by: Florentin Dubois <florentin.dubois@clever-cloud.com>
1 parent 8d7b087 commit 08a927b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM rust:1.60.0 AS builder
1+
FROM fedora:latest AS builder
22

33
WORKDIR /usr/src/clever-operator
44
ADD src src
55
ADD Cargo.toml .
66
ADD Cargo.lock .
77

8+
RUN dnf update -y && dnf install cargo openssl-devel -y
89
RUN cargo build --release
910

10-
FROM redhat/ubi8:latest
11+
FROM fedora:latest
1112

1213
MAINTAINER Florentin Dubois <florentin.dubois@clever-cloud.com>
1314
LABEL name="clever-operator" \

0 commit comments

Comments
 (0)