032740957e
Task: 29045 Story: 2004843 This patch pins pip to 18.1 as the latest pip 19.0 has a problem with --no-cache-dir option. This problem is causing the build of docker images of mariadb and kubeadm-aio to fail when they upgrade the setuptools package. Change-Id: If2b76249eeacec519a6a76605607ba6f3f81ac7d Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
23 lines
637 B
Docker
23 lines
637 B
Docker
FROM docker.io/mariadb@sha256:d4cf9fbdf33a2940ca35c653bf2b702cbaed0bff87ade8c3e3ee9eab81b38b27
|
|
#FROM docker.io/mariadb:10.2.18
|
|
|
|
RUN set -ex ;\
|
|
apt-get update ;\
|
|
apt-get upgrade -y ;\
|
|
apt-get install -y --no-install-recommends \
|
|
python-pip ;\
|
|
pip --no-cache-dir install --upgrade pip==18.1 ;\
|
|
hash -r ;\
|
|
pip --no-cache-dir install --upgrade setuptools ;\
|
|
pip --no-cache-dir install --upgrade \
|
|
configparser \
|
|
iso8601 \
|
|
kubernetes ;\
|
|
apt-get clean -y ;\
|
|
rm -rf \
|
|
/var/cache/debconf/* \
|
|
/var/lib/apt/lists/* \
|
|
/var/log/* \
|
|
/tmp/* \
|
|
/var/tmp/*
|