update Dockerfile
This commit is contained in:
parent
4d3cc50edb
commit
06f3aee731
11
Dockerfile
11
Dockerfile
@ -1,9 +1,9 @@
|
|||||||
# Build docker container: docker build -t voxel-engine .
|
# Build docker container: docker build -t voxelcore .
|
||||||
# Build project: docker run --rm -it -v$(pwd):/project voxel-engine bash -c "cmake -DCMAKE_BUILD_TYPE=Release -Bbuild && cmake --build build"
|
# Build project: docker run --rm -it -v$(pwd):/project voxelcore bash -c "cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE -Bbuild && cmake --build build"
|
||||||
# Run project in docker: docker run --rm -it -v$(pwd):/project -v/tmp/.X11-unix:/tmp/.X11-unix -v${XAUTHORITY}:/home/user/.Xauthority:ro -eDISPLAY --network=host voxel-engine ./build/VoxelEngine
|
# Run project in docker: docker run --rm -it -v$(pwd):/project -v/tmp/.X11-unix:/tmp/.X11-unix -v${XAUTHORITY}:/home/user/.Xauthority:ro -eDISPLAY --network=host voxelcore ./build/VoxelEngine
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bookworm-slim
|
||||||
LABEL Description="Docker container for building VoxelEngine for Linux"
|
LABEL Description="Docker container for building VoxelCore for Linux"
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||||
@ -17,6 +17,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||||||
libglfw3-dev \
|
libglfw3-dev \
|
||||||
libglfw3 \
|
libglfw3 \
|
||||||
libglew-dev \
|
libglew-dev \
|
||||||
|
libglew2.2 \
|
||||||
libglm-dev \
|
libglm-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
libopenal-dev \
|
libopenal-dev \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user