-
Notifications
You must be signed in to change notification settings - Fork 11
/
dep-common.sh
executable file
·74 lines (66 loc) · 1.63 KB
/
dep-common.sh
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
set -xeuo pipefail # Make my life easier
# Because I removed one package
# apt --fix-broken -y install
# if [ -d "/tmp/immich-preinstall" ]; then
# rm -r /tmp/immich-preinstall
# fi
# Install runtime component
## Redis
apt install --no-install-recommends -y\
redis
# Install build dependency
## Tools
apt install --no-install-recommends -y\
curl git python3-venv python3-dev unzip
## From immich/base-image
apt install --no-install-recommends -y\
autoconf \
build-essential \
cmake \
jq \
libbrotli-dev \
libde265-dev \
libexif-dev \
libexpat1-dev \
libglib2.0-dev \
libgsf-1-dev \
liblcms2-2 \
librsvg2-dev \
libspng-dev \
meson \
ninja-build \
pkg-config \
wget \
zlib1g \
cpanminus
## Learned from compile failure
apt install -y libgdk-pixbuf-2.0-dev librsvg2-dev libtool
## From libjxl guide
apt install -y --no-install-recommends libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-dev
# Install runtime dependency
apt install --no-install-recommends -y\
ca-certificates \
jq \
libde265-0 \
libexif12 \
libexpat1 \
libgcc-s1 \
libglib2.0-0 \
libgomp1 \
libgsf-1-114 \
liblcms2-2 \
liblqr-1-0 \
libltdl7 \
libmimalloc2.0 \
libopenexr-3-1-30 \
libopenjp2-7 \
librsvg2-2 \
libspng0 \
mesa-utils \
mesa-va-drivers \
mesa-vulkan-drivers \
tini \
wget \
zlib1g \
ocl-icd-libopencl1