Closed mamedin closed 6 years ago
I think it could be fixed using FROM python:2.7-jessie
instead of FROM python:2.7
at MCPServer.Dockerfile
:
diff --git a/src/MCPServer.Dockerfile b/src/MCPServer.Dockerfile
index 91d02009..d18bf84f 100644
--- a/src/MCPServer.Dockerfile
+++ b/src/MCPServer.Dockerfile
@@ -1,4 +1,4 @@
-FROM python:2.7
+FROM python:2.7-jessie
ENV DEBIAN_FRONTEND noninteractive
ENV DJANGO_SETTINGS_MODULE settings.common
That sounds like a good solution here - definitely a problem with using that docker tag 'python-2.7' and trying to have reproducible builds.
I think 'python-2.7-jessie' is the best choice now, we could try jessie-slim or alpine after this to try and reduce the image size, but those options probably require additional changes to work.
I have problems building the archivematica-mcp-server image. The base image
python:2.7
now uses Debian Stretch (version 9) instead of Debian Jessie (version 8) . The packagelibmysqlclient-dev
doesn’t exist in Debian 9 that usesdefault-libmysqlclient-dev
instead.This is the error I get: