mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-11 01:27:58 +01:00
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.
This commit is contained in:
parent
0a163c456f
commit
7f5282aa65
2 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@ RUN dnf update -y && \
|
|||
net-tools \
|
||||
valgrind \
|
||||
wget \
|
||||
git \
|
||||
jq \
|
||||
xz \
|
||||
zlib-devel && \
|
||||
|
|
|
@ -148,7 +148,7 @@ for target in $TARGETS; do
|
|||
echo "Building Fedora Image"
|
||||
DOCKERFILE=contrib/docker/Dockerfile.builder.fedora
|
||||
TAG=fedora
|
||||
docker build -f $DOCKERFILE -t $TAG .
|
||||
docker build -f $DOCKERFILE -t $TAG --load .
|
||||
docker run --rm=true -v "$(pwd)":/src:ro -v "$RELEASEDIR":/release $TAG /src/tools/build-release.sh --inside-docker "$VERSION" "$platform"
|
||||
docker run --rm=true -w /build $TAG rm -rf /"$VERSION-$platform" /build
|
||||
echo "Fedora Image Built"
|
||||
|
|
Loading…
Add table
Reference in a new issue