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

Add Dockerfile for CentOS 7.9.2009 #1114

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add Dockerfile for CentOS 7.9.2009 #1114

wants to merge 3 commits into from

Conversation

hannahbast
Copy link
Member

@hannahbast hannahbast commented Sep 29, 2023

Working Dockerfile for CentOS 7.9.2009. Installs g++ 11.3.0, binutils 2.36 (which include a new version of ld), and mold 2.2.0 (a more modern linker). Runs e2e/e2e.sh in the end (QLever's end-to-end test, which builds a small index and sends queries to it from a large test suite), as a proof of concept that indeed everything works as it should.

Build the image and run the container as follows:

docker build -f Dockerfiles/Dockerfile.centos -t qlever.centos .
docker run -it --name qlever.centos qlever.centos

NOTE: Without the new linkers, we get defined in discarded section errors during linkin, just like the PubChemRDF folks. The updated ld is only used to compile the newer mold linker, which is then used to link the Qlever binaries.

Build the image and run the container as follows:

```
docker build -f Dockerfiles/Dockerfile.centos -t qlever.centos .
docker run -it --entrypoint bash --name qlever.centos qlever.centos
```

At that point, all prerequisites have been installed, including g++
11.3.0, and all the QLever libraries have been compiled. What remains is
to link the binaries. The following then produces the same linker errors
as reported by the PubChemRDF folks:

```
make ServerMain IndexBuilderMain VERBOSE=1
```
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (2f2b88e) 80.57% compared to head (bb82996) 80.67%.
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1114      +/-   ##
==========================================
+ Coverage   80.57%   80.67%   +0.10%     
==========================================
  Files         293      295       +2     
  Lines       27572    27690     +118     
  Branches     3385     3385              
==========================================
+ Hits        22215    22340     +125     
+ Misses       3959     3955       -4     
+ Partials     1398     1395       -3     

see 24 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Hannah Bast added 2 commits October 1, 2023 06:53
Runs the end-to-end tests in the end, as  proof of concept, that indeed
everything works now.
@sonarcloud
Copy link

sonarcloud bot commented Oct 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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

Successfully merging this pull request may close these issues.

None yet

1 participant