File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,13 +39,20 @@ ENV LANG=en_US.UTF-8
3939ENV LANGUAGE=en_US:en
4040ENV LC_ALL=en_US.UTF-8
4141
42- # The package sets are based on Yocto & crosstool-ng docs/references:
42+ # Install required distro packages.
4343#
4444# Yocto:
4545# https://www.yoctoproject.org/docs/2.3.4/ref-manual/ref-manual.html#ubuntu-packages
4646#
4747# crosstool-ng:
4848# https://github.com/crosstool-ng/crosstool-ng/blob/master/testing/docker/ubuntu18.04/Dockerfile
49+ #
50+ # Python:
51+ # https://devguide.python.org/getting-started/setup-building/
52+ #
53+ # qemu:
54+ # https://www.qemu.org/docs/master/devel/build-environment.html
55+
4956RUN <<EOF
5057 apt-get install -y --no-install-recommends \
5158 autoconf \
@@ -54,8 +61,10 @@ RUN <<EOF
5461 build-essential \
5562 bzip2 \
5663 ca-certificates \
64+ ccache \
5765 chrpath \
5866 cpio \
67+ curl \
5968 debianutils \
6069 diffstat \
6170 flex \
@@ -67,12 +76,26 @@ RUN <<EOF
6776 gperf \
6877 help2man \
6978 iputils-ping \
79+ libbz2-dev \
80+ libc6-dev \
81+ libfdt-dev \
82+ libffi-dev \
83+ libgdbm-dev \
84+ libglib2.0-dev \
85+ liblzma-dev \
7086 libncurses5-dev \
87+ libnss3-dev \
88+ libpixman-1-dev \
89+ libreadline-dev \
90+ libsqlite3-dev \
91+ libssl-dev \
7192 libstdc++6 \
7293 libtool \
7394 libtool-bin \
7495 make \
96+ makeself \
7597 nasm \
98+ p7zip-full \
7699 patch \
77100 pkg-config \
78101 python \
@@ -83,32 +106,10 @@ RUN <<EOF
83106 python3-setuptools \
84107 socat \
85108 texinfo \
109+ tree \
86110 unzip \
87111 wget \
88- xz-utils
89- EOF
90-
91- # Install packages for creating SDK packages
92- RUN <<EOF
93- apt-get install -y --no-install-recommends \
94- curl \
95- makeself \
96- p7zip-full \
97- tree
98- EOF
99-
100- # Install packages required for building Python
101- RUN <<EOF
102- apt-get install -y --no-install-recommends \
103- libbz2-dev \
104- libffi-dev \
105- libgdbm-dev \
106- liblzma-dev \
107- libncurses5-dev \
108- libnss3-dev \
109- libreadline-dev \
110- libsqlite3-dev \
111- libssl-dev \
112+ xz-utils \
112113 zlib1g-dev
113114EOF
114115
You can’t perform that action at this time.
0 commit comments