Skip to content

Commit 43a9790

Browse files
authored
Create Ubuntu 24.04 Bootstrap Environment (#448)
This docker image produces an environment with all of the required dependencies for building a full Swift toolchain, but without installing an existing Swift toolchain. This is to provide an environment for testing the bootstrap process.
1 parent 429abc6 commit 43a9790

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

Diff for: swift-ci/main/ubuntu/24.04/Bootstrap/Dockerfile

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
FROM ubuntu:24.04
2+
3+
ARG BUILD_USER_ID=998
4+
5+
RUN groupadd -g ${BUILD_USER_ID} build-user && \
6+
useradd -m -r -u ${BUILD_USER_ID} -g build-user build-user
7+
8+
ENV DEBIAN_FRONTEND="noninteractive"
9+
10+
RUN apt-get -y update && apt-get -y install \
11+
build-essential \
12+
clang \
13+
cmake \
14+
git \
15+
icu-devtools \
16+
libc++-18-dev \
17+
libc++abi-18-dev \
18+
libcurl4-openssl-dev \
19+
libedit-dev \
20+
libicu-dev \
21+
libncurses5-dev \
22+
libpython3-dev \
23+
libsqlite3-dev \
24+
libxml2-dev \
25+
ninja-build \
26+
pkg-config \
27+
python3-six \
28+
python3-pip \
29+
python3-pkg-resources \
30+
python3-psutil \
31+
python3-setuptools \
32+
rsync \
33+
swig \
34+
systemtap-sdt-dev \
35+
tzdata \
36+
uuid-dev \
37+
zip
38+
39+
COPY swift-ci/dependencies/requirements.txt /dependencies/
40+
RUN pip3 install -r /dependencies/requirements.txt --break-system-packages
41+
42+
USER build-user
43+
WORKDIR /home/build-user

0 commit comments

Comments
 (0)