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 <jpodivin@gmail.com>
This commit is contained in:
parent
a6704643b6
commit
c01c7d2caf
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue