Skip to content

Chr0nos/mlx-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is it ?

This ia a Docker image with the mlx pre-installed, so you can easly compile and run your graphical project based on the minilibx from 42

It also have clang installed

Build the image

Just run

docker build -t mlx .

Run the image

# lazy alias
drg='docker run -it --rm --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --net=host'

# run the image with the example code
drg -v `pwd`/example:/root/project mlx
make

then you can run the a.out file either from the container or the host machine directly that's all it takes, that image require a linux with a xorg server running.

About

Minilibx from 42 docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published