forked from open-edge-platform/scenescape
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsources.Dockerfile
More file actions
88 lines (79 loc) · 2.09 KB
/
sources.Dockerfile
File metadata and controls
88 lines (79 loc) · 2.09 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
# -*- mode: Fundamental; indent-tabs-mode: nil -*-
# SPDX-FileCopyrightText: (C) 2024 - 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
FROM ubuntu:22.04 AS source-grabber
RUN echo "deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt update && apt-get install -y --no-install-recommends dpkg-dev
WORKDIR /sources-deb
RUN apt-get source --download-only \
bindfs \
ca-certificates \
cfitsio \
fuse \
gdbm \
geos \
icu \
libapparmor1 \
libatomic1 \
libdbus-1-3 \
libde265-0 \
libelf1 \
libfuse2 \
libfyba0 \
libgfortran5 \
libglib2.0-0 \
libgomp1 \
libgudev-1.0-0 \
libheif1 \
libinput-bin \
libinput10 \
libjbig0 \
libjson-c5 \
libmpdec3 \
libmysqlclient21 \
libodbc2 \
libodbcinst2 \
libogdi4.1 \
libreadline8 \
librtmp1 \
librttopo1 \
libsensors-config \
libsensors5 \
libsocket++1 \
libssh-4 \
libtirpc-common \
libvulkan1 \
libwebp7 \
libwebpmux3 \
libxxhash0 \
libz3-4 \
media-types \
mosquitto \
mysql-common \
netbase \
perl \
poppler \
python-is-python3 \
qtbase-opensource-src \
readline-common \
spatialite \
unixodbc-common \
wget
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/eclipse-paho/paho.mqtt.python \
; git clone --depth 1 https://github.com/psycopg/psycopg2 \
; git clone --depth 1 https://github.com/certifi/python-certifi \
; git clone --depth 1 https://github.com/tqdm/tqdm \
; git clone --depth 1 https://github.com/jab/bidict \
; git clone --depth 1 https://github.com/dranjan/python-plyfile
WORKDIR /sources-other
RUN : \
; git clone --depth 1 https://github.com/mozilla/geckodriver \
; git clone --depth 1 https://github.com/mirror/busybox
FROM ubuntu:24.04
COPY --from=source-grabber /sources* /sources
COPY third-party-programs.txt /sources
WORKDIR /sources
USER ubuntu