Add dockerfile for pc, add install command
This commit is contained in:
parent
eb5528e0cf
commit
382e1009f2
|
@ -7,3 +7,4 @@ libgui.layout
|
|||
obj/
|
||||
cmake-build-debug/
|
||||
.idea/
|
||||
cmake-build/
|
||||
|
|
|
@ -39,3 +39,6 @@ add_library(${PROJECT_NAME}
|
|||
source/gui/system/SDLSystem.cpp
|
||||
source/gui/video/SDL_FontCache.cpp
|
||||
include/gui-sdl/gui/GuiFont.h source/gui/GuiFont.cpp)
|
||||
|
||||
install(TARGETS gui-sdl RUNTIME DESTINATION libs)
|
||||
install(DIRECTORY include/ DESTINATION include)
|
|
@ -0,0 +1,10 @@
|
|||
FROM debian:sid-slim
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils ca-certificates && \
|
||||
apt-get install -y --no-install-recommends build-essential make git && \
|
||||
apt-get install -y --no-install-recommends cmake && \
|
||||
apt-get install -y --no-install-recommends libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-dev && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN mkdir -p /project/cmake-build
|
||||
WORKDIR /project/cmake-build
|
Loading…
Reference in New Issue