Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 8 is deprecated for core Dockerfile #558

Open
twtaylor opened this issue Feb 6, 2023 · 0 comments
Open

CentOS 8 is deprecated for core Dockerfile #558

twtaylor opened this issue Feb 6, 2023 · 0 comments

Comments

@twtaylor
Copy link

twtaylor commented Feb 6, 2023

If you try to stand-up the Dockerfile in core, you get:

> DOCKER_BUILDKIT=0 COMPOSE_DOCKER_CLI_BUILD=0  docker build -t subzero . --no-cache
Sending build context to Docker daemon  12.48MB
Step 1/14 : FROM centos:8.1.1911
8.1.1911: Pulling from library/centos
d6d1431672e7: Pull complete
Digest: sha256:fe8d824220415eed5477b63addf40fb06c3b049404242b31982106ac204f6700
Status: Downloaded newer image for centos:8.1.1911
 ---> 796035f59a88
Step 2/14 : RUN yum -y --enablerepo=extras install     autoconf     automake     clang     cmake     dnf-plugins-core     gcc     gcc-c++     git     libtool     make     python2     unzip     vim
 ---> Running in 1091d397e747
CentOS-8 - AppStream                            7.2  B/s |  38  B     00:05
Failed to download metadata for repo 'AppStream'
Error: Failed to download metadata for repo 'AppStream'
The command '/bin/sh -c yum -y --enablerepo=extras install     autoconf     automake     clang     cmake     dnf-plugins-core     gcc     gcc-c++     git     libtool     make     python2     unzip     vim' returned a non-zero code: 1

This is due to this tag being fairly outdated: https://hub.docker.com/layers/library/centos/centos8.1.1911/images/sha256-567785922b920b35aee6a217f70433fd437b335ad45054743c960d1aaa143dcd?context=explore

But also due to the fact the yum repository is no longer supported by CentOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant