fix compile error

This commit is contained in:
2024-10-16 15:00:43 +02:00
parent ed6a78316e
commit 7f011067ca
8 changed files with 110 additions and 10 deletions

32
Dockerfile.linux Normal file
View File

@@ -0,0 +1,32 @@
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
ninja-build \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-mixer-dev \
libsdl2-ttf-dev \
libfmt-dev \
libx11-dev \
x11-xserver-utils \
pulseaudio \
mesa-utils \
wget \
unzip
# Set the working directory
WORKDIR /app
# Copy your source code into the container
COPY . .
# Build the application
RUN cmake . && make
# Command to run your application (optional)
CMD ["./SDL_TD"]