migrate from CentOS_8_Stream to CentOS_8
Change-Id: I72c8fdae14816ec0a243f3fca4b4c2a49b562845 Related: SYS#5250changes/38/21738/2
parent
62ac277796
commit
de52a89d0d
|
@ -10,7 +10,7 @@ RUN echo "metadata_expire=60" >> /etc/dnf/dnf.conf && cat /etc/dnf/dnf.conf
|
|||
RUN dnf install -y dnf-utils wget && \
|
||||
yum config-manager --set-enabled powertools && \
|
||||
cd /etc/yum.repos.d/ && \
|
||||
wget $OSMOCOM_REPO_MIRROR/repositories/network:osmocom:nightly/CentOS_8_Stream/network:osmocom:nightly.repo
|
||||
wget $OSMOCOM_REPO_MIRROR/repositories/network:osmocom:nightly/CentOS_8/network:osmocom:nightly.repo
|
||||
|
||||
RUN dnf install -y \
|
||||
autoconf \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -18,7 +18,7 @@ RUN apt-key add /tmp/Release.key && \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
telnet \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -19,7 +19,7 @@ RUN apt-key add /tmp/Release.key && \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
telnet \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -48,7 +48,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
|||
# we need to add this to invalidate the cache once the repository is updated.
|
||||
# unfortunately Dockerfiles don't support a conditional ARG, so we need to add both DPKG + RPM
|
||||
ADD $OSMOCOM_REPO/Release /tmp/Release
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8_Stream/repodata/repomd.xml /tmp/repomd.xml
|
||||
ADD $OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml /tmp/repomd.xml
|
||||
RUN case "$DISTRO" in \
|
||||
debian*) \
|
||||
apt-get update && \
|
||||
|
|
Loading…
Reference in New Issue