Dockerfile | ||
README.md |
README.md
A dockerfile used to test sdaveb/quartz-warriors project.
Overview
Container Overview:
- Update APK repository
- Install all needed APKs
- Create a developer user, with limited /usr/local/ and /var/run write access.
- Switch to developer user
- Configure ccache
- Download necessary dependency source
- Compile dependencies
- Install dependencies
APKs to install
- autoconf
- automake
- axel
- ccache
- gcc
- g++
- git
- libexecinfo-dev
- make
- musl-dev
- sdl2-dev
- sdl2_image-dev
Artifacts to cache:
- /var/run/ccache
- ~/.ccache/ccache.config
- ~/Downloads/
- ~/Developer/quartz-warriors/third_party
SDL2_gfx installation process:
- Use axel to download sources to ~/Downloads
- tar xvf sources.tar.gz
- cd source
- mkdir build && cd build
- ../configure CC="ccache gcc" CXX="ccache g++"
- make -j -l 4
- make install