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

🐳 Improved the Docker workflow #558

Merged
merged 17 commits into from
Nov 5, 2024
Merged

🐳 Improved the Docker workflow #558

merged 17 commits into from
Nov 5, 2024

Conversation

marcelwa
Copy link
Collaborator

@marcelwa marcelwa commented Oct 31, 2024

Description

This PR updates the Docker workflow. Most notably, the following changes are made:

  • .dockerignore:
    • added new file types and folders, yielding smaller image sizes
    • fixed paths, applying filter rules to sub-directories, yielding smaller image sizes
  • Dockerfile:
    • set Ubuntu version to a specific LTS release
    • added labels with meta info
    • enforced a clean-up after build, yielding smaller image sizes
    • initiated all installs and builds as a non-root user
  • Docker GitHub CI:
    • added the ability to publish images to DockerHub

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have added a changelog entry.
  • I have created/adjusted the Python bindings for any new or updated functionality.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style guidelines.

- fix Ubuntu version to a specific LTS release
- added labels with meta info
- clean up after build
- run installs and builds as non-root
…. This ability is activated by default in this commit for testing but will be limited to published releases once it is verified that everything works as intended
@marcelwa marcelwa added github_actions Pull requests that update GitHub Actions code docker Pull requests that relate to Docker labels Oct 31, 2024
@marcelwa marcelwa self-assigned this Oct 31, 2024
@marcelwa marcelwa merged commit a9c3093 into main Nov 5, 2024
3 checks passed
@marcelwa marcelwa deleted the docker-update branch November 5, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Pull requests that relate to Docker github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant