Skip to content

Commit 34291a1

Browse files
add archlinux image
1 parent 8e98b6a commit 34291a1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Use a specific Arch Linux base image
2+
FROM archlinux:latest
3+
4+
# Set environment variables to avoid interaction
5+
ENV TZ=UTC
6+
7+
# Update and install system dependencies
8+
RUN pacman -Syu --noconfirm && \
9+
pacman -S --noconfirm \
10+
gcc \
11+
clang \
12+
gdb \
13+
llvm \
14+
wget \
15+
python \
16+
python-pip \
17+
git \
18+
meson \
19+
ninja \
20+
tzdata && \
21+
pacman -Scc --noconfirm
22+
23+
# Set environment variables
24+
ENV CC=/usr/bin/clang
25+
ENV CXX=/usr/bin/clang++
26+
ENV LD_LIBRARY_PATH=/usr/local/lib
27+
28+
# Set working directory
29+
WORKDIR /workspace
30+
31+
# Default command
32+
CMD ["bash"]

0 commit comments

Comments
 (0)