-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathsources.Dockerfile
More file actions
98 lines (88 loc) · 2.92 KB
/
sources.Dockerfile
File metadata and controls
98 lines (88 loc) · 2.92 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# -*- mode: Fundamental; indent-tabs-mode: nil -*-
# SPDX-FileCopyrightText: (C) 2024 - 2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
FROM debian:12@sha256:bc960ef50e6feed90686c593361df158517556ed1d2d98e5d1df3724024e0f49 AS source-grabber
RUN echo "deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware" >> /etc/apt/sources.list \
&& echo "deb-src http://security.debian.org/debian-security bookworm-security main" >> /etc/apt/sources.list \
&& echo "deb-src http://deb.debian.org/debian bookworm-updates main" >> /etc/apt/sources.list \
&& echo "deb-src http://deb.debian.org/debian trixie main contrib non-free non-free-firmware" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y --no-install-recommends dpkg-dev
WORKDIR /sources-deb
RUN apt-get source --download-only \
armadillo \
bindfs \
cfitsio \
elfutils \
fuse \
gcc-12 \
gcc-14 \
gdal \
gdbm \
gdcm \
geos \
glib2.0 \
glibc \
libhdf4 \
hdf5 \
icu \
jbigkit \
json-c \
libde265 \
fyba \
libgudev \
libheif \
libinput \
libkml \
librttopo \
libwebp \
lm-sensors \
mariadb \
media-types \
mosquitto \
netcdf \
numactl \
ogdi-dfsg \
opencv \
perl \
poppler \
procps \
protobuf \
python3.11 \
qtbase-opensource-src \
rtmpdump \
socket++ \
spatialite \
superlu \
unixodbc \
wget \
x265 \
xerces-c \
z3
WORKDIR /sources-python
RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates git
RUN : \
; git clone --depth 1 https://github.com/certifi/python-certifi \
; git clone --depth 1 https://github.com/dranjan/python-plyfile \
; git clone --depth 1 https://github.com/eclipse-paho/paho.mqtt.python \
; git clone --depth 1 https://github.com/jab/bidict \
; git clone --depth 1 https://github.com/psycopg/psycopg2 \
; git clone --depth 1 https://github.com/tqdm/tqdm
WORKDIR /sources-conan
RUN : \
; git clone --depth 1 https://github.com/autotools-mirror/autoconf \
; git clone --depth 1 https://github.com/autotools-mirror/automake \
; git clone --depth 1 https://github.com/autotools-mirror/libtool \
; git clone --depth 1 https://github.com/autotools-mirror/m4 \
; git clone --depth 1 https://github.com/eclipse/paho.mqtt.c \
; git clone --depth 1 https://github.com/eclipse/paho.mqtt.cpp \
; git clone --depth 1 https://github.com/eigenteam/eigen-git-mirror \
; git clone --depth 1 https://github.com/gcc-mirror/gcc
WORKDIR /sources-other
RUN : \
; git clone --depth 1 https://github.com/mozilla/geckodriver \
; git clone --depth 1 https://github.com/mirror/busybox
FROM debian:13@sha256:55a15a112b42be10bfc8092fcc40b6748dc236f7ef46a358d9392b339e9d60e8
COPY --from=source-grabber /sources* /sources
COPY third-party-programs.txt /sources
WORKDIR /sources
USER nobody