migrate from CentOS_8_Stream to CentOS_8
Change-Id: I72c8fdae14816ec0a243f3fca4b4c2a49b562845 Related: SYS#5250
This commit is contained in:
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 && \
|
RUN dnf install -y dnf-utils wget && \
|
||||||
yum config-manager --set-enabled powertools && \
|
yum config-manager --set-enabled powertools && \
|
||||||
cd /etc/yum.repos.d/ && \
|
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 \
|
RUN dnf install -y \
|
||||||
autoconf \
|
autoconf \
|
||||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
||||||
# we need to add this to invalidate the cache once the repository is updated.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
telnet \
|
telnet \
|
||||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
||||||
# we need to add this to invalidate the cache once the repository is updated.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
telnet \
|
telnet \
|
||||||
|
|
|
@ -23,7 +23,7 @@ RUN case "$DISTRO" in \
|
||||||
# we need to add this to invalidate the cache once the repository is updated.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
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.
|
# 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
|
# 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/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 \
|
RUN case "$DISTRO" in \
|
||||||
debian*) \
|
debian*) \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
|
Loading…
Reference in New Issue