Files
openstack-helm-images/mariadb/Dockerfile.ubuntu_xenial
Tin Lam 8d8c3e7158 Change image to use python 3
This patch set updates the Dockerfile to use python3 and pip3 instead
for all ubuntu images.

Change-Id: I20a6f1a28b2adadd66d42907bbec977c28f5a044
Signed-off-by: Tin Lam <tlam@omegaprime.dev>
2019-10-28 21:11:55 +00:00

24 lines
670 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 \
python3-pip ;\
pip3 --no-cache-dir install --upgrade pip ;\
hash -r ;\
pip3 --no-cache-dir install --upgrade setuptools ;\
pip3 --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/* ;\
usermod -s /bin/false mysql