Skip to content

Update Dockerfiles and docker-compose.yml files#742

Merged
mhucka merged 11 commits into
masterfrom
mh-update-docker-files
Jun 13, 2025
Merged

Update Dockerfiles and docker-compose.yml files#742
mhucka merged 11 commits into
masterfrom
mh-update-docker-files

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented May 30, 2025

This updates the various Docker-related files to remove obsolete constructs, use Ubuntu 24.04 as the base OS instead of Debian, and overall, make things work on recent platforms.

mhucka added 5 commits May 30, 2025 02:59
Recent versions of Docker compose complain that this is an obsolete
field and should be removed.
These are already installed in the `qsim` Docker image.
This matches what we get on GitHub runners.
This needs to install requirements.txt.
The main change is to install CMake 3.31.7 rather than to use the
version installed by `apt install cmake`, because the latter version
is too old (3.28).

Some additional changes were needed to make things work on local
Linux, Mac, and GitHub runners.
@mhucka mhucka self-assigned this May 30, 2025
@mhucka mhucka requested review from dstrain115 and pavoljuhas June 10, 2025 03:44
mhucka added 4 commits June 12, 2025 17:09
Subsequent Docker-based tests using the qsim Docker image can fail
because they may lack some of the Python dependencies.

Separately, best practices (at least according to `hadolint`) seem to
be to use apt-get instead of apt, and to use
`--no-install-recommends`.
The path to the venv bin directory was incorrect.

Also, the sequence of events eneded to be adjusted slightly.
That was a mistake. Let's ignore hadolint's recommendation on this one.
@mhucka mhucka removed their assignment Jun 12, 2025
With the qsim Docker container having more things preinsalled, this
Dockerfile can be simplified further.
@mhucka mhucka requested a review from sergeisakov June 13, 2025 15:56
@mhucka mhucka merged commit 4bf6562 into master Jun 13, 2025
15 of 19 checks passed
@mhucka mhucka deleted the mh-update-docker-files branch June 13, 2025 19:55
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.

3 participants