fix: add the git binary to the final step of the container images (#5863)
Add the git binary to the runtime images
This commit is contained in:
parent
c01452f890
commit
cdf85e55de
4 changed files with 4 additions and 1 deletions
|
|
@ -69,6 +69,7 @@ FROM python:3.12.3-slim AS runtime
|
|||
|
||||
RUN apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install git -y \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ FROM python:3.12.3-slim AS runtime
|
|||
|
||||
RUN apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install git -y \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ FROM python:3.12.3-slim AS runtime
|
|||
|
||||
RUN apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install -y curl \
|
||||
&& apt-get install -y curl git \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data \
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ RUN apt-get update \
|
|||
build-essential \
|
||||
curl \
|
||||
npm \
|
||||
git \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue