Skip to content

Commit

Permalink
fix: add the git binary to the final step of the container images (#5863
Browse files Browse the repository at this point in the history
)

Add the git binary to the runtime images
  • Loading branch information
mollux authored Jan 22, 2025
1 parent c01452f commit cdf85e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/build_and_push.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docker/build_and_push_base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/build_and_push_ep.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get update \
build-essential \
curl \
npm \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit cdf85e5

Please sign in to comment.