From ubuntu:22.04
# These are used to access the UniMRCP package repository.
ARG UNIMRCP_USERNAME
ARG UNIMRCP_PASSWORD
RUN echo -e "\
machine
unimrcp.org\n\
login $UNIMRCP_USERNAME\
password $UNIMRCP_PASSWORD" > /etc/apt/auth.conf.d/unimrcp.conf
RUN echo "deb [trusted=yes arch=amd64]
https://unimrcp.org/repo/apt/ jammy main" > /etc/apt/sources.list.d/unimrcp.list
# Install required tools
RUN apt-get update && apt-get install -y \
wget \
gnupg \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Add UniMRCP GPG key
RUN wget -O -
https://unimrcp.org/keys/unimrcp-gpg-key.public | apt-key add -
# Update and install the package
RUN apt-get update && apt-get install -y unimrcp-server-dev
I'm about to try removing the apt-key add in favour of something that won't give deprecation warnings. But given I used "trusted=yes" I would expect that to not matter so much and the issue to be somewhere else. Any help is appreciated!