Skip to content

Commit

Permalink
Install missing build dependency for the FBPCS pce_deployment image (#…
Browse files Browse the repository at this point in the history
…1448)

Summary:
Pull Request resolved: #1448

An issue was encountered that prevented build of the `pce_deployment` image against the aarch64/arm64 platform.

Building the Docker image against aarch64 fails due to some missing build dependencies: `gcc`, `python3-dev`. This is because a project dependency, the `psutil` wheel, is not distributed with the aarch64 build and instead it is compiled from source (see [Wheel support for linux aarch64 · Issue #1782 · giampaolo/psutil · GitHub](giampaolo/psutil#1782)).

This change updates the corresponding Dockerfile to install the dependencies required to compile the wheel.

Reviewed By: ajaybhargavb

Differential Revision: D38541052

fbshipit-source-id: 18b893729f705317b3f3d7ee9ddeff14f1ec5002
  • Loading branch information
danbunnell authored and facebook-github-bot committed Aug 16, 2022
1 parent 514da04 commit de2ed17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/pce_deployment/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
##########################################
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
gcc \
jq \
python3.8 \
python3-dev \
python3-pip \
unzip \
sudo
Expand Down

0 comments on commit de2ed17

Please sign in to comment.