Skip to content
Snippets Groups Projects
Commit 086ca054 authored by Andrey Postnikov's avatar Andrey Postnikov
Browse files

Fix base image for mysql-8 #3388135

- removed extra layer saved 20MB of apt-cache
- /var/lib/mysql is empty initially
parent 4de19d4f
No related branches found
No related tags found
No related merge requests found
Pipeline #21344 failed
FROM mysql:8
FROM mysql:8.0-debian
MAINTAINER drupalci
# Packages.
RUN apt-get -y update && \
apt-get -y install netcat psmisc
RUN apt-get clean && apt-get autoclean && apt-get -y autoremove
apt-get -y install netcat psmisc --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
COPY ./conf/my.cnf /etc/mysql/conf.d/drupalci.cnf
RUN rm -rf /var/lib/mysql/*
USER root
COPY ./conf/startup.sh /opt/startup.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment