-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Use Ubuntu 24.04 for dev-igc and unstable (#16255)
dev_igc and unstable need Ubuntu 24.04 now based on the IGC packaging, so move our Dockerfiles and CI to use 24.04 for these. I needed to manually bump the dev-igc version because the artifacts for the current one are expired so they can't be downloaded anymore so we can't make the Docker image. The dev-igc CI run is expected to fail here, it always uses the official intel/llvm Docker images, even if the current PR updates them, so we need to wait for this PR to be merged to test it. I'll watch it once we merge. --------- Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
- Loading branch information
Showing
8 changed files
with
59 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ARG base_tag=latest | ||
ARG base_image=ghcr.io/intel/llvm/ubuntu2404_base | ||
|
||
FROM $base_image:$base_tag | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
ARG use_latest=true | ||
|
||
RUN apt update && apt install -yqq wget | ||
|
||
COPY scripts/get_release.py / | ||
COPY scripts/install_drivers.sh / | ||
COPY dependencies.json / | ||
|
||
RUN mkdir /runtimes | ||
ENV INSTALL_LOCATION=/runtimes | ||
RUN --mount=type=secret,id=github_token \ | ||
if [ "$use_latest" = "true" ]; then \ | ||
install_driver_opt=" --use-latest"; \ | ||
else \ | ||
install_driver_opt=" dependencies.json"; \ | ||
fi && \ | ||
GITHUB_TOKEN=$(cat /run/secrets/github_token) /install_drivers.sh $install_driver_opt --all | ||
|
||
COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh | ||
|
||
ENTRYPOINT ["/bin/bash", "/drivers_entrypoint.sh"] | ||
|
2 changes: 1 addition & 1 deletion
2
...untu2204_intel_drivers_igc_dev.Dockerfile → ...untu2404_intel_drivers_igc_dev.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters