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

Update Dockerfile: download conda not via debian repo #1320

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

Conversation

epsilonhalbe
Copy link

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

  • Yes, I signed my commits.

this did only work for amd64, but not for aarch64

Signed-off-by: Martin Heuschober <[email protected]>
Copy link

netlify bot commented Nov 23, 2023

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit 39b0d7c
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/65633e408c059d000880774a

Copy link
Contributor

@jamesbraza jamesbraza left a 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)" && \
Copy link
Contributor

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?

@lunamidori5 lunamidori5 requested review from mudler and Aisuko November 24, 2023 19:15
@vhscom
Copy link

vhscom commented Nov 26, 2023

Bumped into this bug trying to build today under Fedora 39 on an M2. The changeset provided in this pull got me past #1315.

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.

"Unable to locate package conda" on docker compose up
5 participants