В общем мне нужен легкий image python на версии 2.7 так как нужно поднять версию nginx и не трогать legacy python
пока оставить на 2.7
Нашел
python:2.7.18-slim-stretch
внешние repo для debian прокинул через artifactory
написал dockerfile
FROM python:2.7.18-slim
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN rm /etc/apt/sources.list \
&& echo 'deb http://rero.ru/artifactory/debian-remote stretch main' >> /etc/apt/sources.list \
&& echo 'deb http://rero.ru/artifactory/debian-remote stretch-updates main' >> /etc/apt/sources.list \
&& echo 'deb http://rero.ru/artifactory/debian-security stretch/updates main' >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install nginx
запускаю build
возвращается ошибка
#6 6.543 The following packages have unmet dependencies:
#6 6.595 nginx : Depends: nginx-full (< 1.10.3-1+deb9u7.1~) but it is not going to be installed or
#6 6.595 nginx-light (< 1.10.3-1+deb9u7.1~) but it is not going to be installed or
#6 6.595 nginx-extras (< 1.10.3-1+deb9u7.1~) but it is not going to be installed
#6 6.595 Depends: nginx-full (>= 1.10.3-1+deb9u7) but it is not going to be installed or
#6 6.595 nginx-light (>= 1.10.3-1+deb9u7) but it is not going to be installed or
#6 6.595 nginx-extras (>= 1.10.3-1+deb9u7) but it is not going to be installed
#6 6.606 E: Unable to correct problems, you have held broken packages.
какого репо или зависимости не хватает?