Skip to content

Commit 7f5282a

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
docker: Add missing git dependency for Fedora Dockerfile
Fedora image building by build-release.sh currently throws error ` git: command not found`. Fixed it by adding git in the Dockerfile and loading the image in the script. Changelog-None.
1 parent 0a163c4 commit 7f5282a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contrib/docker/Dockerfile.builder.fedora

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ RUN dnf update -y && \
1919
net-tools \
2020
valgrind \
2121
wget \
22+
git \
2223
jq \
2324
xz \
2425
zlib-devel && \

tools/build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ for target in $TARGETS; do
148148
echo "Building Fedora Image"
149149
DOCKERFILE=contrib/docker/Dockerfile.builder.fedora
150150
TAG=fedora
151-
docker build -f $DOCKERFILE -t $TAG .
151+
docker build -f $DOCKERFILE -t $TAG --load .
152152
docker run --rm=true -v "$(pwd)":/src:ro -v "$RELEASEDIR":/release $TAG /src/tools/build-release.sh --inside-docker "$VERSION" "$platform"
153153
docker run --rm=true -w /build $TAG rm -rf /"$VERSION-$platform" /build
154154
echo "Fedora Image Built"

0 commit comments

Comments
 (0)