Skip to content

Commit

Permalink
Dockerfile: Add ninja-build and meson
Browse files Browse the repository at this point in the history
This commit installs the ninja-build and meson utilities, which are
required for building the picolibc.

Note that meson is installed through the pip because the distro-
provided meson package (0.52) is outdated and does not meet the
minimum version requirement for building the picolibc (0.53).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed Aug 17, 2022
1 parent 2cae429 commit cf18327
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ RUN apt-get install -y --no-install-recommends \
python3-dev autoconf automake libtool libtool-bin gawk wget bzip2 \
xz-utils unzip patch libstdc++6 diffstat build-essential chrpath \
socat cpio python python3 python3-pip python3-pexpect \
python3-setuptools debianutils iputils-ping ca-certificates
python3-setuptools debianutils iputils-ping ca-certificates \
ninja-build

# Install python3.8-dev for build w/GDB
RUN apt-get install -y --no-install-recommends python3.8-dev
Expand All @@ -46,6 +47,9 @@ RUN apt-get install -y --no-install-recommends makeself p7zip-full tree curl
# Install python packages to allow upload to aws S3
RUN pip3 install awscli

# Install meson to allow building picolibc
RUN pip3 install meson

# Grab a new git
RUN add-apt-repository ppa:git-core/ppa -y && \
apt-get update && \
Expand Down

0 comments on commit cf18327

Please sign in to comment.