From: Pranav Annam <pranavan...@gmail.com>

The dependency libssl1.0-dev in the Dockerfile makes docker build fail:

  The following packages have unmet dependencies:
   libmysqlclient-dev : Depends: libssl-dev (>= 1.1.1-1ubuntu2.1~18.04.5~)
  but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

There seems to be a conflict with different versions of libssl and
libmysqlclient that did not exist previously with Ubuntu 18.04.

Just use the current libssl-dev from Ubuntu 18.04 to fix the build.

Signed-off-by: Pranav Annam <pranavan...@gmail.com>
[rephrased commit message]
Signed-off-by: Lukas Bulwahn <lukas.bulw...@gmail.com>
---

Pranav, here is my proposal on how future patches should look
like. Please look at the difference to your original patch.

Stephen, Daniel, please pick the patch with the commit message
that you prefer and explain to us why (for future newcomers to
be pointed out to and learn).

 tools/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 5ef1120..62ac461 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -35,7 +35,7 @@ RUN apt-get update && apt-get install -y 
--no-install-recommends \
     libpq-dev \
     libreadline-dev \
     libsqlite3-dev \
-    libssl1.0-dev \
+    libssl-dev \
     mysql-client \
     postgresql-client \
     tzdata \
-- 
2.17.1

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to