Skip to content

Commit

Permalink
feat(dx): add uv, pixi and ramalama (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Feb 7, 2025
1 parent b38bb47 commit e74d83e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG MAJOR_VERSION="${MAJOR_VERSION:-stream10}"
FROM ghcr.io/astral-sh/uv:latest@sha256:88d7b48fc9f17462c82b5482e497af250d337f3f14e1ac97c16e68eba49b651e AS uv-bin
FROM ghcr.io/ublue-os/config:latest@sha256:9dce9d52ba90b418d768a65486c30be9fcf4b4f54ceb787602be6776b749ba88 AS config
FROM quay.io/centos-bootc/centos-bootc:$MAJOR_VERSION

Expand All @@ -14,5 +15,7 @@ ARG SHA_HEAD_SHORT="${SHA_HEAD_SHORT:-}"
COPY system_files /
COPY system_files_overrides /var/tmp/system_files_overrides
COPY build_scripts /var/tmp/build_scripts
# FIXME: install UV from EPEL whenever it gets released there, its currently on epel-testing but its broken (07-02-2025)
COPY --from=uv-bin /uv* /var/tmp/system_files_overrides/dx/usr/bin

RUN --mount=type=tmpfs,dst=/tmp --mount=type=bind,from=config,src=/rpms,dst=/tmp/rpms /var/tmp/build_scripts/build.sh
6 changes: 4 additions & 2 deletions build_scripts/overrides/dx/00-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

set -xeuo pipefail

# This is for better testing, we might split this later
# FIXME: just install uv regularly, this should be out of epel testing after 10-02-25 or so
# dnf --enablerepo="epel-testing" install -y uv

dnf install -y fuse flatpak-builder
dnf install -y \
python3-ramalama

# VSCode on the base image!
dnf config-manager --add-repo "https://packages.microsoft.com/yumrepos/vscode"
Expand Down
1 change: 1 addition & 0 deletions build_scripts/overrides/dx/10-pixi.sh
Empty file.

0 comments on commit e74d83e

Please sign in to comment.