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
Summary:
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 facebookresearch#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: 9ce75bd3016de062ba601649849840f85d881a6e
  • Loading branch information
danbunnell authored and facebook-github-bot committed Aug 16, 2022
1 parent 514da04 commit 321d52d
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 321d52d

Please sign in to comment.