Skip to content

Commit 97ee359

Browse files
authored
Create Amazon Linux 2023 Bootstrap Dockerfile. (swiftlang#471)
1 parent 09fc5a5 commit 97ee359

File tree

1 file changed

+44
-0
lines changed
  • swift-ci/main/amazon-linux/2023/Bootstrap

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
FROM amazonlinux:2023
2+
3+
RUN yum install shadow-utils -y
4+
5+
RUN groupadd -g 998 build-user && \
6+
useradd -m -r -u 42 -g build-user build-user
7+
8+
RUN yum -y group install "development tools"
9+
RUN yum -y install \
10+
ninja-build \
11+
curl-devel \
12+
gcc-c++ \
13+
clang \
14+
git \
15+
libbsd-devel \
16+
libedit-devel \
17+
libicu-devel \
18+
libuuid-devel \
19+
libxml2-devel \
20+
ncurses-devel \
21+
pkgconfig \
22+
procps-ng \
23+
python3 \
24+
python3-devel \
25+
python3-distro \
26+
python3-setuptools \
27+
rsync \
28+
sqlite-devel \
29+
swig \
30+
tzdata \
31+
unzip \
32+
zip \
33+
lld \
34+
diffutils \
35+
which
36+
37+
RUN curl -fsSL "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2-linux-`uname -m`.tar.gz" \
38+
| tar --strip-components=1 -xz -C /usr/local
39+
40+
41+
# TODO: Still need to install bits for lldb
42+
43+
USER build-user
44+
WORKDIR /home/build-user

0 commit comments

Comments
 (0)