Skip to content

Commit

Permalink
Fix building bookworm test image
Browse files Browse the repository at this point in the history
salt require timelib which require a compiler to build.
  • Loading branch information
philpep committed May 26, 2024
1 parent 54f3b5c commit f8b756a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion images/debian_bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ RUN /v/bin/pip install -U pip
RUN /v/bin/pip install 'requests==2.30.0'

# install salt
RUN python3 -m pip install --break-system-packages --no-cache salt
ARG _BUILD_DEPS="gcc g++ libc6-dev python3-dev"
RUN apt update && apt install -y $_BUILD_DEPS && \
python3 -m pip install --break-system-packages --no-cache salt && \
apt -y purge $_BUILD_DEPS && \
apt -y autoremove --purge && \
rm -rf /var/lib/apt/lists/*

ENV LANG fr_FR.ISO-8859-15
ENV LANGUAGE fr_FR
Expand Down

0 comments on commit f8b756a

Please sign in to comment.