Skip to content

Commit 5076d87

Browse files
authored
Install python modules in AL2023 bootstrap (#485)
swift-bootstrap-amazonlinux-2023-x86_64 has a failing lldb test caused by the absence of the 'pexpect' python module. This pr is meant to resolve that error and was tested with an at desk build.
1 parent 4a69e7b commit 5076d87

File tree

1 file changed

+3
-2
lines changed
  • swift-ci/main/amazon-linux/2023/Bootstrap

1 file changed

+3
-2
lines changed

swift-ci/main/amazon-linux/2023/Bootstrap/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN yum -y install \
2424
python3-devel \
2525
python3-distro \
2626
python3-setuptools \
27+
python3-pip \
2728
rsync \
2829
sqlite-devel \
2930
swig \
@@ -37,8 +38,8 @@ RUN yum -y install \
3738
RUN curl -fsSL "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2-linux-`uname -m`.tar.gz" \
3839
| tar --strip-components=1 -xz -C /usr/local
3940

40-
41-
# TODO: Still need to install bits for lldb
41+
COPY swift-ci/dependencies/requirements.txt /dependencies/
42+
RUN pip3 install -r /dependencies/requirements.txt
4243

4344
USER build-user
4445
WORKDIR /home/build-user

0 commit comments

Comments
 (0)