mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +00:00
optimize build
This commit is contained in:
parent
646b0fddd3
commit
a0687e7c92
2 changed files with 3 additions and 2 deletions
|
@ -85,6 +85,7 @@ RUN apk --no-cache -U add build-base \
|
|||
libxslt-dev \
|
||||
mariadb-dev \
|
||||
pkgconfig \
|
||||
py3-pip \
|
||||
python3-dev \
|
||||
wget && \
|
||||
rm -rf /root/* \
|
||||
|
|
|
@ -45,8 +45,8 @@ RUN apk --no-cache -U add \
|
|||
git checkout 49c7c4aac87603e0d2449501c300841a1f59fd0f && \
|
||||
mkdir -p log && \
|
||||
cp /root/dist/requirements.txt . && \
|
||||
pip3 install --break-system-packages --upgrade pip && \
|
||||
pip3 install --break-system-packages -r requirements.txt && \
|
||||
pip3 install --break-system-packages --upgrade --no-cache-dir pip && \
|
||||
pip3 install --break-system-packages --no-cache-dir -r requirements.txt && \
|
||||
#
|
||||
# Setup configs
|
||||
setcap cap_net_bind_service=+ep $(readlink -f $(type -P python3)) && \
|
||||
|
|
Loading…
Reference in a new issue