-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update Dockerfile: download conda not via debian repo #1320
base: master
Are you sure you want to change the base?
Conversation
this did only work for amd64, but not for aarch64 Signed-off-by: Martin Heuschober <[email protected]>
✅ Deploy Preview for localai canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, thank you!
Cc @lunamidori5 if you got a sec
wget \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* && \ | ||
UNAME_M="$(uname -m)" && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think of making this UNAME
and conda
set up it's own RUN
, for more discrete Docker layer caching?
Bumped into this bug trying to build today under Fedora 39 on an M2. The changeset provided in this pull got me past #1315. |
this did only work for amd64, but not for aarch64
Note that the build for me (on M1 Mac) is still broken - but at least this PR solves part of that issue, and allows other people (more knowledgable than me) to investigate further
Description
This PR fixes #1315
Notes for Reviewers
I am by far an expert on conda - I took the changes from https://github.com/ContinuumIO/docker-images/blob/main/anaconda3/debian/Dockerfile
Signed commits