Skip to content

Commit

Permalink
Attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpino committed Sep 3, 2024
1 parent 40f9c8b commit b566fc3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions images/wkdev_sdk/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.s
rm -rf WebKit && \
${APT_AUTOREMOVE}

# Add Rust environment.
ENV RUSTUP_HOME="/opt/rust" \
CARGO_HOME="/opt/rust" \
PATH="/root/.cargo/bin:${PATH}"

# Install any necessary rust projects
# The Ubuntu provided sccache 0.7.7 package is broken
# Building GStreamer needs cargo-c
Expand All @@ -88,6 +93,9 @@ RUN rustup toolchain install 1.78 && \
cargo install --root /usr/local cargo-c && \
rm -rf ~/.cargo

# Verify Rust installation.
RUN rustc --version && cargo --version

# Copy jhbuild helper files and do the initial build & install
COPY /jhbuild/jhbuildrc /etc/xdg/jhbuildrc
COPY /jhbuild/webkit-sdk-deps.modules /jhbuild/webkit-sdk-deps.modules
Expand Down

0 comments on commit b566fc3

Please sign in to comment.