intel / oneapi-containers

BSD 3-Clause "New" or "Revised" License
111 stars 45 forks source link

intel/oneapi-basekit APT Repository not working #70

Closed mofosyne closed 2 months ago

mofosyne commented 3 months ago

It appears there is a workaround for this as shown in this commit below, however you may want to consider regenerating your docker image with corrections to your latest APT Repository

https://github.com/intel-analytics/ipex-llm/commit/e0f401d97d14734de22467a24d5a6fd38f622eec (Credit to simonlui for the heads up)

It appears that you switched to https://repositories.intel.com/graphics/ubuntu over https://repositories.intel.com/gpu/ubuntu

This issue is currently affecting a few repository so far:

The line you may need to change is located in https://github.com/intel/oneapi-containers/blob/master/images/docker/basekit/Dockerfile.ubuntu-22.04#L20 which looks like:

RUN curl -fsSL https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor | tee /usr/share/keyrings/intel-graphics-archive-keyring.gpg
RUN echo "deb [signed-by=/usr/share/keyrings/intel-graphics-archive-keyring.gpg arch=amd64] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified" > /etc/apt/sources.list.d/intel-graphics.list

It's clear that we will need to update the url and the gpg key for the above


Context:

mofosyne commented 3 months ago

FYI we are likely going to work around this via @airMeng PR https://github.com/ggerganov/llama.cpp/pull/7630 Which you may want to use as reference to update the main dockerfile

mdreyesm commented 2 months ago

the new images with the refreshed apt key are now available on dockerhub