Install ca-certificates before Osmocom repo
Prepare for using https://downloads.osmocom.org/packages/ instead of http://download.opensuse.org to download packages. Install ca-certificates before attempting to use the repository, otherwise it will print a warning and not use the repository and e.g. install eclipse-titan from debian's repository instead of our repo. Fix for: W: https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/./InRelease: No system certificates available. Try installing ca-certificates. Related: OS#5557 Change-Id: Icb6764601671b6e66591f33ede6d0f822811545achanges/16/28416/1
parent
010d9f30ae
commit
f3c09b2a24
|
@ -15,6 +15,7 @@ RUN apt-get update && \
|
|||
automake \
|
||||
bison \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
cppcheck \
|
||||
dahdi-source \
|
||||
debhelper \
|
||||
|
|
|
@ -44,6 +44,7 @@ RUN apt-get update && \
|
|||
|
||||
# add osmocom latest repo, should we ever require packages from there
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
gnupg
|
||||
COPY .common/Release.key /tmp/Release.key
|
||||
RUN apt-key add /tmp/Release.key && \
|
||||
|
|
|
@ -10,6 +10,7 @@ RUN apt-get update && \
|
|||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
telnet \
|
||||
ca-certificates \
|
||||
gnupg \
|
||||
&& \
|
||||
apt-get clean
|
||||
|
|
|
@ -8,6 +8,7 @@ ARG OSMOCOM_REPO_TESTSUITE_MIRROR="http://download.opensuse.org"
|
|||
ARG OSMOCOM_REPO="$OSMOCOM_REPO_TESTSUITE_MIRROR/repositories/network:/osmocom:/latest/Debian_11/"
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
gnupg
|
||||
|
||||
COPY .common/Release.key /tmp/Release.key
|
||||
|
|
|
@ -15,6 +15,7 @@ RUN apt-get update && \
|
|||
automake \
|
||||
bison \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
cppcheck \
|
||||
dahdi-source \
|
||||
debhelper \
|
||||
|
|
|
@ -26,6 +26,7 @@ RUN \
|
|||
bc \
|
||||
bison \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
coccinelle \
|
||||
cppcheck \
|
||||
|
|
|
@ -9,6 +9,9 @@ ARG OSMOCOM_REPO="${OSMOCOM_REPO_MIRROR}/${OSMOCOM_REPO_PATH}/nightly/Debian_8.0
|
|||
|
||||
COPY .common/Release.key /tmp/Release.key
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates
|
||||
|
||||
RUN apt-key add /tmp/Release.key && \
|
||||
rm /tmp/Release.key && \
|
||||
echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-nightly.list
|
||||
|
|
|
@ -26,6 +26,7 @@ RUN \
|
|||
bc \
|
||||
bison \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
coccinelle \
|
||||
cppcheck \
|
||||
|
|
|
@ -15,6 +15,7 @@ RUN apt-get update && \
|
|||
automake \
|
||||
bison \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
cppcheck \
|
||||
dahdi-source \
|
||||
debhelper \
|
||||
|
|
|
@ -26,6 +26,7 @@ RUN \
|
|||
bc \
|
||||
bison \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
coccinelle \
|
||||
cppcheck \
|
||||
|
|
|
@ -9,6 +9,7 @@ ARG OSMOCOM_REPO="${OSMOCOM_REPO_MIRROR}/${OSMOCOM_REPO_PATH}/latest/Debian_9.0/
|
|||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
telnet \
|
||||
gnupg \
|
||||
&& \
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN case "$DISTRO" in \
|
|||
debian*) \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
gnupg && \
|
||||
apt-key add /tmp/Release.key && \
|
||||
rm /tmp/Release.key && \
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN case "$DISTRO" in \
|
|||
debian*) \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
gnupg && \
|
||||
apt-key add /tmp/Release.key && \
|
||||
rm /tmp/Release.key && \
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN case "$DISTRO" in \
|
|||
debian*) \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
gnupg && \
|
||||
apt-key add /tmp/Release.key && \
|
||||
rm /tmp/Release.key && \
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN case "$DISTRO" in \
|
|||
debian*) \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
gnupg && \
|
||||
apt-key add /tmp/Release.key && \
|
||||
rm /tmp/Release.key && \
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN case "$DISTRO" in \
|
|||
debian*) \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
gnupg && \
|
||||
apt-key add /tmp/Release.key && \
|
||||
rm /tmp/Release.key && \
|
||||
|
|
Loading…
Reference in New Issue