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

Broken container image build centos-mariadb-101-centos7-latest #68

Closed
navidshaikh opened this issue Feb 8, 2018 · 2 comments
Closed

Comments

@navidshaikh
Copy link

Build centos-mariadb-101-centos7-latest is broken for CentOS base image.

Step failing in Dockerfile, line 59

COPY 10.1/root-common /

and the following line 60 and 61 will also fail due to broken (relative path references).

[Full build logs] (https://registry.centos.org/pipeline-logs/MmU1ODM1NzA0M2/build_logs.txt)

@omron93
Copy link
Contributor

omron93 commented Feb 8, 2018

@navidshaikh mariadb-container has to be built using

cd 10.1; docker build -f Dockerfile .. - the .. context is required to make working instruction you mentioned

@phracek
Copy link
Member

phracek commented Oct 31, 2023

The steps how to build mariadb-container image on hosts like Fedora, CentOS7, RHEL are:

$ git clone https://github.com/sclorg/mariadb-container
$ cd mariadb-container
$ git submodule update --init
$ make build TARGET=<prefer_image> VERSIONS=10.3

In case of centos7 it looks like:

$ git clone https://github.com/sclorg/mariadb-container
$ cd mariadb-container
$ git submodule update --init
$ make build TARGET=centos7 VERSIONS=10.3

Unfortunately building centos7 was disabled couple weeks ago.
In case you would like to build container for e.g. RHEL8 steps are similar.

$ git clone https://github.com/sclorg/mariadb-container
$ cd mariadb-container
$ git submodule update --init
$ make build TARGET=rhel8 VERSIONS=10.5

Closing this issue, as building, tagging and testing mariadb-container for versions 10.3 and 10.5 works properly. Feel free to re-open it.

@phracek phracek closed this as completed Oct 31, 2023
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

3 participants