Skip to content

Fix Dockerfile and some minor updates #97

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

Merged
merged 7 commits into from
Oct 29, 2024
Merged

Fix Dockerfile and some minor updates #97

merged 7 commits into from
Oct 29, 2024

Conversation

alvarobartt
Copy link
Member

@alvarobartt alvarobartt commented Oct 28, 2024

Description

This PR mainly fixes the Dockerfile as there was an issue with the Python 3.11 installation, as it was being installed but the default Python 3.10 was being used instead.

Besides those fixes, additionally some other minor formatting / updates have been applied, such as:

  • makefile rename and update to Makefile
  • Removed vertex related targets from Makefile and Dockerfile
  • Include missing in-line comments in Makefile and update PHONY list of available targets
  • Update .dockerignore to ignore .git too
  • Fix formatting on setup.py, pyproject.toml, entrypoint.sh, and MANIFEST.in for a consistent use of spacing

@alvarobartt alvarobartt added the bug Something isn't working label Oct 28, 2024
@alvarobartt alvarobartt self-assigned this Oct 28, 2024
- Remove Vertex-related stuff since there's already a dedicated
repository for building, pushing and testing the Vertex AI compatible
images i.e. https://github.com/huggingface/Google-Cloud-Containers
- Add missing PHONY targets
- Add some in-line comments on each target
- Python 3.11 was being installed, but Python 3.10 was used instead;
both via `python` and when installing with `pip`
- Fix `pip` installation to use recommended installation path as per
https://pip.pypa.io/en/stable/installation/
- Remove `vertex` build stage since there's already a dedicated
repository for the Google Cloud Containers, including the Vertex AI
compatible ones, i.e.
https://github.com/huggingface/Google-Cloud-Containers
@alvarobartt alvarobartt merged commit 0d30670 into main Oct 29, 2024
6 checks passed
@alvarobartt alvarobartt deleted the fix-dockerfiles branch October 29, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants