File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,13 @@ LABEL org.label-schema.vendor="Grafolean" \
31
31
org.label-schema.docker.schema-version="1.0"
32
32
COPY --from=python-requirements /requirements.txt /requirements.txt
33
33
RUN \
34
+ apt-get update && \
35
+ apt-get install --no-install-recommends -q -y git build-essential libpq-dev python3-dev libffi-dev && \
34
36
pip install --no-cache-dir -r /requirements.txt && \
37
+ apt-get purge -y git build-essential libpq-dev python3-dev libffi-dev && \
38
+ apt-get clean autoclean && \
39
+ apt-get autoremove --yes && \
40
+ rm -rf /var/lib/{apt,dpkg,cache,log}/ /var/cache/apt/* /tmp/* && \
35
41
echo "alias l='ls -altr'" >> /root/.bashrc
36
42
COPY --from=build-backend /netflowbot/ /netflowbot/
37
43
WORKDIR /netflowbot
You can’t perform that action at this time.
0 commit comments