File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,15 +2,23 @@ FROM ubuntu:22.04
22
33ENV DEBIAN_FRONTEND=noninteractive
44
5- # Base deps + Tauri Linux requirements + buildah for container builds
5+ # Base deps + Tauri Linux requirements
66RUN apt-get update && apt-get install -y --no-install-recommends \
77 curl ca-certificates git sudo jq zip \
88 libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev \
99 build-essential pkg-config \
1010 lib32gcc-s1 \
11- buildah \
1211 && rm -rf /var/lib/apt/lists/*
1312
13+ # Buildah from Kubic (v1.30+, supports --isolation chroot without CLONE_NEWUSER)
14+ RUN . /etc/os-release && \
15+ curl -fsSL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${VERSION_ID}/Release.key" \
16+ | gpg --dearmor -o /usr/share/keyrings/kubic.gpg && \
17+ echo "deb [signed-by=/usr/share/keyrings/kubic.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${VERSION_ID}/ /" \
18+ > /etc/apt/sources.list.d/kubic.list && \
19+ apt-get update && apt-get install -y --no-install-recommends buildah && \
20+ rm -rf /var/lib/apt/lists/*
21+
1422# Node.js 24
1523RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
1624 && apt-get install -y nodejs \
You can’t perform that action at this time.
0 commit comments