Я столкнулся с этой ошибкой при запуске файла docker и не могу ее решить

Я получаю эту ошибку при выполнении сборки docker-compose, я не могу понять ее.

1.241 The following information may help to resolve the situation:
1.241
1.241 The following packages have unmet dependencies:
1.324  mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.0) but it is not installable
1.324  mongodb-org-server : Depends: libssl1.1 (>= 1.1.0) but it is not installable
1.324  mongodb-org-shell : Depends: libssl1.1 (>= 1.1.0) but it is not installable
1.327 E: Unable to correct problems, you have held broken packages.
------
failed to solve: process "/bin/sh -c apt-get install -y mongodb-org" did not complete successfully: exit code: 100

Это файл докера

# set base image (host OS)
FROM python:3.8

RUN rm /bin/sh && ln -s /bin/bash /bin/sh

RUN apt-get -y update
RUN apt-get install -y curl nano wget nginx git

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list


# Mongo
RUN ln -s /bin/echo /bin/systemctl
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
RUN echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
RUN apt-get -y update
RUN apt-get install -y mongodb-org

# Install Yarn
RUN apt-get install -y yarn

# Install PIP
RUN easy_install pip


ENV ENV_TYPE staging
ENV MONGO_HOST mongo
ENV MONGO_PORT 27017
##########

ENV PYTHONPATH=$PYTHONPATH:/src/

# copy the dependencies file to the working directory
COPY src/requirements.txt .

# install dependencies
RUN pip install -r requirements.txt
Вернуться на верх