Create devcontainer for development with X11 forwarding
This commit is contained in:
parent
62c821e87b
commit
9be1526cb1
3 changed files with 34 additions and 1 deletions
21
.devcontainer/Dockerfile
Normal file
21
.devcontainer/Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM debian:trixie
|
||||
RUN apt update
|
||||
RUN apt upgrade
|
||||
|
||||
ENV DISPLAY=:0
|
||||
|
||||
# Install chicken
|
||||
RUN apt install -y build-essential git
|
||||
RUN apt install -y chicken-bin
|
||||
|
||||
# Install chicken dependencies
|
||||
RUN chicken-install srfi-99 srfi-1 srfi-113 srfi-69 csm srfi-78
|
||||
|
||||
# Install raylib
|
||||
RUN apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
|
||||
RUN git clone --depth 1 https://github.com/raysan5/raylib.git raylib && \
|
||||
cd raylib/src/ && \
|
||||
make PLATFORM=PLATFORM_DESKTOP && \
|
||||
make install
|
||||
|
||||
RUN chicken-install raylib
|
||||
Loading…
Add table
Add a link
Reference in a new issue