Skip to content

Commit

Permalink
Merge pull request #893 from fvn-elmy/chore/docker-upd-pkg
Browse files Browse the repository at this point in the history
🔨 upgrade docker package dependencies
  • Loading branch information
tw93 authored Jan 16, 2025
2 parents 3edb137 + b5509d1 commit a4d0574
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ FROM rust:1.80-slim AS cargo-builder
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/usr/local/cargo/registry \
apt-get update && apt-get install -y --no-install-recommends \
libdbus-1-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev \
libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev \
libdbus-1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev \
libwebkit2gtk-4.1-dev build-essential curl wget libssl-dev \
libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev \
gnome-video-effects
COPY . /pake
Expand All @@ -17,6 +17,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --release && \
mkdir -p /cargo-cache && \
cp -R /usr/local/cargo/registry /cargo-cache/ && \
([ -d "/usr/local/cargo/git" ] && cp -R /usr/local/cargo/git /cargo-cache/ || mkdir -p /usr/local/cargo/git) && \
cp -R /usr/local/cargo/git /cargo-cache/
# Verify the content of /cargo-cache && clean unnecessary files
RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/src
Expand All @@ -27,7 +28,7 @@ FROM rust:1.80-slim AS builder
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/usr/local/cargo/registry \
apt-get update && apt-get install -y --no-install-recommends \
libdbus-1-dev libsoup2.4-dev libjavascriptcoregtk-4.1-dev \
libdbus-1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev \
libwebkit2gtk-4.1-dev build-essential curl wget libssl-dev \
libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev \
gnome-video-effects
Expand Down

0 comments on commit a4d0574

Please sign in to comment.