Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions node-images/fedora/Containerfile.disk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ ARG BCVK_REF=main

FROM quay.io/fedora/fedora-minimal:${FEDORA_VERSION} AS bcvk-builder
ARG BCVK_REF
RUN dnf install -y --setopt=install_weak_deps=0 git rust cargo && dnf clean all
RUN git clone https://github.com/bootc-dev/bcvk.git /bcvk && \
RUN dnf install -y --setopt=install_weak_deps=0 git rust cargo openssl-devel pkg-config && dnf clean all
# TODO: currently, there is a bug in bcvk where the digest for the image
# doesn't match with the remote digest. A temporary fix is available at this
# repository. See: https://github.com/bootc-dev/bcvk/pull/314
RUN git clone https://github.com/Johan-Liebert1/bcvk.git /bcvk && \
git -C /bcvk checkout ${BCVK_REF} && \
cargo build --release --manifest-path /bcvk/Cargo.toml

Expand Down
5 changes: 4 additions & 1 deletion node-images/fedora/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ DISK_SIZE ?= 10G
BUILD_MEMORY ?= 4G
BUILD_LOG_DIR ?= /tmp/bcvk-logs
BCVK_EXTRA_ARGS ?=
BCVK_REF ?= 9005a6111f62533cb7b8b6a3cdffe6e1e98ce673
# TODO: currently, there is a bug in bcvk where the digest for the image
# doesn't match with the remote digest. A temporary fix is available at this
# branch
BCVK_REF ?= img-to-install-cli-opt

IMAGE_TAG ?= v$(KUBE_MINOR)-fedora-$(FEDORA_VERSION)
REGISTRY ?= ghcr.io/bootc-dev/bink
Expand Down
Loading