-
Notifications
You must be signed in to change notification settings - Fork 3
/
debian-bookworm-18.Dockerfile
49 lines (40 loc) · 1 KB
/
debian-bookworm-18.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM rust:bookworm
# Install base utils
RUN apt-get update
RUN apt-get install -y \
curl \
psmisc
# Install Node.js
RUN curl -fsSL "https://deb.nodesource.com/setup_18.x" | bash -
RUN apt-get install -y nodejs
# Install Yarn
RUN corepack enable
# Install Tarpaulin
RUN cargo install cargo-tarpaulin
# Install Tauri v1 dependencies
# https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-linux
RUN apt-get install -y \
libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev
# Install Tauri v2 dependencies
# https://v2.tauri.app/start/prerequisites/#linux
RUN apt-get install -y \
file \
libwebkit2gtk-4.1-dev \
libxdo-dev
# Install tauri-driver dependencies
RUN apt-get install -y \
dbus-x11 \
webkit2gtk-4.0-dev \
webkit2gtk-driver \
xvfb
# Install tauri-driver
# https://tauri.app/v1/guides/testing/webdriver/introduction#system-dependencies
RUN cargo install tauri-driver
CMD ["/bin/bash"]