From c01c7d2cafde3464bb2d526ace3ae498264cc232 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Sun, 28 May 2023 09:33:33 +0200 Subject: [PATCH] Adding git in container package dependencies The build-info.sh script is invoking git on lines 6 and 11. However git is not installed by default in ubuntu base images. This causes an unhandled exception to occur, which is silently passed during the build. Signed-off-by: Jiri Podivin --- .devops/full.Dockerfile | 2 +- .devops/main.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devops/full.Dockerfile b/.devops/full.Dockerfile index 491d67676..01b3111d9 100644 --- a/.devops/full.Dockerfile +++ b/.devops/full.Dockerfile @@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04 FROM ubuntu:$UBUNTU_VERSION as build RUN apt-get update && \ - apt-get install -y build-essential python3 python3-pip + apt-get install -y build-essential python3 python3-pip git COPY requirements.txt requirements.txt diff --git a/.devops/main.Dockerfile b/.devops/main.Dockerfile index 2e629f8ce..fc34a0c18 100644 --- a/.devops/main.Dockerfile +++ b/.devops/main.Dockerfile @@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04 FROM ubuntu:$UBUNTU_VERSION as build RUN apt-get update && \ - apt-get install -y build-essential + apt-get install -y build-essential git WORKDIR /app