mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-21 21:18:54 +00:00
osbuilder: build image-builder image from Fedora 34
Currently the image-builder image is built from `fedora:latest` and this is error-prone as any update of the base image can lead to breakage. Instead let's create the image from Fedora 34, which is the last known version to build fine. Fixes #2960 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
5e230a1cba
commit
a239a38f45
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
ARG IMAGE_REGISTRY=registry.fedoraproject.org
|
ARG IMAGE_REGISTRY=registry.fedoraproject.org
|
||||||
FROM ${IMAGE_REGISTRY}/fedora:latest
|
FROM ${IMAGE_REGISTRY}/fedora:34
|
||||||
|
|
||||||
RUN [ -n "$http_proxy" ] && sed -i '$ a proxy='$http_proxy /etc/dnf/dnf.conf ; true
|
RUN [ -n "$http_proxy" ] && sed -i '$ a proxy='$http_proxy /etc/dnf/dnf.conf ; true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user