/
githubmirror
/
coreos-installer
Обзор
Документация
Войти
/
githubmirror
/
coreos-installer
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Dockerfile
21 строка
940 B
Michael Armijo
dockerfile: update to Fedora 44
12 май 2026, 17:23
12 май 2026, 17:23
5aa73e4
Код
Авторство
О чём код?
FROM quay.io/fedora/fedora:44 AS builder RUN dnf install -y cargo git-core libzstd-devel openssl-devel xz-devel WORKDIR /build COPY Cargo.* ./ COPY src src/ # Debug symbols are nice but they're not 100+ MB of nice RUN sed -i 's/^debug = true$/debug = false/' Cargo.toml # aarch64 release builds running in emulation take too long and time out the # GitHub Action. Disable optimization. RUN if [ $(uname -p) != x86_64 ]; then sed -i "s/^debug = false$/debug = false\nopt-level = 0/" Cargo.toml; fi # Avoid OOM on emulated arm64 # https://github.com/rust-lang/cargo/issues/10583 RUN mkdir -p .cargo && echo -e '[net]\ngit-fetch-with-cli = true' > .cargo/config.toml RUN cargo build --release FROM quay.io/fedora/fedora:44 RUN dnf install -y /usr/bin/gpg /usr/bin/kpartx /usr/bin/lsblk \ /usr/bin/udevadm && \ dnf clean all COPY --from=builder /build/target/release/coreos-installer /usr/bin ENTRYPOINT ["/usr/bin/coreos-installer"]