Files
openstack-helm-images/mariadb/Dockerfile.ubuntu_xenial
Pete Birley 5046975869 Images: Update all images to allow base image over-rides
This PS updates all dockerfiles to allow base image over-rides as
required by many consumers of OSH.

Change-Id: I53daac9c1ec4707628565abc912116d8997eba16
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-11 04:50:26 +00:00

25 lines
673 B
Docker

# mariadb:10.4.12
ARG FROM=docker.io/mariadb@sha256:b3116f425f51353e2ba71b04647977b035c2c578d276e2d4285bd2798e8199ae
FROM ${FROM}
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