Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/humbertodias/docker-allegro-compiler
Docker container allegro-compiler
https://github.com/humbertodias/docker-allegro-compiler
allegro4 allegro5 docker
Last synced: about 1 month ago
JSON representation
Docker container allegro-compiler
- Host: GitHub
- URL: https://github.com/humbertodias/docker-allegro-compiler
- Owner: humbertodias
- Created: 2023-09-19T01:08:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-29T21:48:47.000Z (9 months ago)
- Last Synced: 2024-03-29T22:38:25.032Z (9 months ago)
- Topics: allegro4, allegro5, docker
- Language: Shell
- Homepage: https://hub.docker.com/r/hldtux/allegro-compiler
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Deploy](https://github.com/humbertodias/docker-allegro-compiler/actions/workflows/deploy.yml/badge.svg)](https://github.com/humbertodias/docker-allegro-compiler/actions/workflows/deploy.yml)
# docker-allegro-compiler
### How to use
```shell
ALLEGRO_VERSION=5.2.9.1
ALLEGRO_PROJECT_PATH="~/my-sdl-project"
ALLEGRO_PROJECT_COMPILER_CMD="g++ main.cpp -o main -g `pkg-config --cflags --static --libs allegro-5`"
docker run -v $ALLEGRO_PROJECT_PATH:/tmp/workdir \
-w /tmp/workdir \
-ti hldtux/allegro-compiler:$ALLEGRO_VERSION-mingw-w64-i686 \
bash -c "$ALLEGRO_PROJECT_COMPILER_CMD"
```