mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-02 13:18:52 +00:00
optimize build
This commit is contained in:
parent
018630aabe
commit
efdd2fc11d
1 changed files with 2 additions and 5 deletions
|
@ -4,7 +4,7 @@ FROM alpine
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
|
|
||||||
# Get and install dependencies & packages
|
# Get and install dependencies & packages
|
||||||
RUN apk -U --no-cache add \
|
RUN apk -U add \
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
|
@ -14,8 +14,6 @@ RUN apk -U --no-cache add \
|
||||||
python-dev \
|
python-dev \
|
||||||
py-pip \
|
py-pip \
|
||||||
py-setuptools && \
|
py-setuptools && \
|
||||||
apk -U --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
|
||||||
py-qt && \
|
|
||||||
|
|
||||||
# Setup user
|
# Setup user
|
||||||
addgroup -g 2000 rdpy && \
|
addgroup -g 2000 rdpy && \
|
||||||
|
@ -52,8 +50,7 @@ RUN apk -U --no-cache add \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
python-dev \
|
python-dev \
|
||||||
py-pip \
|
py-pip && \
|
||||||
py-qt && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Start rdpy
|
# Start rdpy
|
||||||
|
|
Loading…
Reference in a new issue