Hi everyone,
I’m trying to build my own Docker image and in this one i need MySQL but it won’t be installed.
there is my code :
FROM ubuntu:latest
RUN echo “deb http://archive.ubuntu.com/ubuntu precise main universe” > /etc/apt/sources.list
RUN apt-get update &&
apt-get upgrade &&
apt-get install -y mysql-server mysql-client libmysqlclient-dev
apt-get clean && rm -rf /var/lib/apt/lists/*
[…]
then i run the build command and i have this error message :
The following packages have unmet depencies :
libmysqlclient-dev : Depends : zlib1g-dev but it is not going to be installed
mysql-client : Depends : mysql-client-5.5 but it is not going to be installed
mysql-server : Depends : mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command ‘/bin/sh -c apt-get update && apt-get upgrade && apt-get install -y mysql-server mysql-client libmysqlclient-dev && apt-get clean && rm -rf /var/lib/apt/lists/*’ returned a non-zero code : 100
can i have some help please ?
Thanks a lot
PS : i’m really sorry if it’s not in the right place, it’s the first time i come here