-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
opensips-cli : Depends: python3-sqlalchemy (< 2) but 2.0.40+ds1-1 is to be installed
Can be replicated with docker build --network host -t opensips-api .
using the following Dockerfile. If you change stable to bullseye, it installs/builds fine
FROM debian:stable-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
WORKDIR /app
RUN apt-get update && apt -y install curl
RUN curl https://apt.opensips.org/opensips-org.gpg -o /usr/share/keyrings/opensips-org.gpg
RUN echo "deb [signed-by=/usr/share/keyrings/opensips-org.gpg] https://apt.opensips.org bookworm cli-nightly" >/etc/apt/sources.list.d/opensips-cli.list
RUN apt-get update && apt-get install -y python3 python3-pip pkg-config python3-dev default-libmysqlclient-dev build-essential python3-pycurl && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt -y install opensips-cli
COPY . .
CMD ["/usr/bin/python3", "api.py"]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels