-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilder.Dockerfile
35 lines (32 loc) · 955 Bytes
/
builder.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ARG base_tag=bookworm
ARG base_img=mcr.microsoft.com/vscode/devcontainers/base:dev-${base_tag}
FROM --platform=linux/arm64 ${base_img} AS builder-install
RUN apt-get update --fix-missing && apt-get -y upgrade
RUN apt-get install -y --no-install-recommends \
apt-utils \
curl \
cmake \
build-essential \
gcc \
gdb \
clang-format-16 \
clang-tidy-16 \
locales \
make \
ruby \
gcovr \
wget \
git \
libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev \
&& apt-get -y --purge autoremove
RUN ln -s /usr/bin/clang-format-16 /usr/bin/clang-format && \
ln -s /usr/bin/clang-tidy-16 /usr/bin/clang-tidy
RUN cd /usr/src && \
git clone https://github.com/raysan5/raylib.git raylib && \
cd raylib && \
mkdir build && cd build && \
cmake .. && \
make && \
make install
VOLUME ["/builder/mnt"]
WORKDIR /builder/mnt