forked from phoenix/litellm-mirror
build(Dockerfile.database): remove post hook apt clean up actions (temporary)
This commit is contained in:
parent
1b72819eb8
commit
655087a61a
1 changed files with 7 additions and 1 deletions
|
@ -9,10 +9,16 @@ FROM $LITELLM_BUILD_IMAGE as builder
|
|||
# Set the working directory to /app
|
||||
WORKDIR /app
|
||||
|
||||
# Install build dependencies
|
||||
# Temporarily disable APT's post-invoke clean-up actions
|
||||
RUN mv /etc/apt/apt.conf.d/docker-clean /tmp
|
||||
|
||||
# Perform APT operations
|
||||
RUN apt-get clean && apt-get update && \
|
||||
apt-get install -y gcc python3-dev
|
||||
|
||||
# If needed, re-enable APT's post-invoke actions by moving docker-clean back
|
||||
# RUN mv /tmp/docker-clean /etc/apt/apt.conf.d/docker-clean
|
||||
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install build
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue