Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

use --no-cache-dir flag to pip in dockerfiles to save space #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloud/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG BUNDLE_DIR
# ENV no_proxy=localhost,127.0.0.1

RUN apt-get update && apt-get install -y ca-certificates git python3-pip jq
RUN pip3 install ansible netaddr
RUN pip3 install --no-cache-dir ansible netaddr

# This is a template Dockerfile for the bundle's invocation image
# You can customize it to use different base images, install tools and copy configuration files.
Expand Down
2 changes: 1 addition & 1 deletion roles/telemetry/collectd/controlplane/files/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV http_proxy=$http_proxy
ENV https_proxy=$https_proxy

RUN yum install -y gcc gcc-c++ cmake make autoconf automake libxml2 libxml2-devel json-c-devel boost ncurses ncurses-devel ncurses-libs boost-devel libuuid libuuid-devel python2-jsonschema doxygen hwloc-devel libpng12 rsync openssl-devel bc python-devel python-libs python-sphinx openssl unzip which wget python36 epel-release flex bison libtool pkgconfig git patch OpenIPMI ipmitool OpenIPMI-devel yajl yajl-devel protobuf-c protobuf-c-devel libmicrohttpd libmicrohttpd-devel
RUN easy_install pip && pip install intelhex
RUN easy_install pip && pip install --no-cache-dir intelhex

# RT repo
RUN wget http://linuxsoft.cern.ch/cern/centos/7/rt/CentOS-RT.repo -O /etc/yum.repos.d/CentOS-RT.repo
Expand Down