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" \
3131 org.label-schema.docker.schema-version="1.0"
3232COPY --from=python-requirements /requirements.txt /requirements.txt
3333RUN \
34+ apt-get update && \
35+ apt-get install --no-install-recommends -q -y git build-essential libpq-dev python3-dev libffi-dev && \
3436 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/* && \
3541 echo "alias l='ls -altr'" >> /root/.bashrc
3642COPY --from=build-backend /netflowbot/ /netflowbot/
3743WORKDIR /netflowbot
You can’t perform that action at this time.
0 commit comments