Skip to content

Commit

Permalink
Do not directly install deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Aug 19, 2024
1 parent bfe71a7 commit 1f75d06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y \
sshpass \
git \
binutils \
cowsay \
libghc-zlib-dev \
musl-dev \
librust-libc-dev \
Expand All @@ -29,6 +30,8 @@ RUN apt-get update && apt-get install -y \
python3-toml \
python3-tomlkit \
python3-requests \
python3-rich \
python3-paramiko \
ansible \
python3-mock \
mysql-common \
Expand All @@ -54,7 +57,8 @@ COPY . .

# Install Python dependencies
RUN python3 src/freva_deployment/__init__.py && \
python3 -m pip install pyinstaller . && \
python3 -m pip install pyinstaller rich-argparse namegenerator && \
python3 -m pip install --no-deps . \
python3 pyinstaller/pre-win.py &&\
rm -rf /root/.cache/pip && \
rm -rf /root/build-deps && \
Expand Down

0 comments on commit 1f75d06

Please sign in to comment.