1
0

Add non-compose support

This commit is contained in:
xackery 2023-10-01 13:52:52 -07:00
parent fc75ad175a
commit fb299896b9
2 changed files with 15 additions and 2 deletions

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
IMAGE_NAME := docker-aseprite
build: build-image
docker run --rm \
-v ${PWD}/output:/output \
-v ${PWD}/dependencies:/dependencies \
${IMAGE_NAME}
build-compose:
docker-compose build
docker-compose up
build-image:
docker build -t ${IMAGE_NAME} .

View File

@ -15,8 +15,7 @@ If any of the folders of the projects folder isn't empty, the script will skip c
* Install docker * Install docker
* Clone this repository * Clone this repository
* cd into cloned repository * cd into cloned repository
* Run `docker-compose build` * Run `make build` or `make build-compose` (The latter will use docker-compose to build the image)
* Run `docker-compose up`
* Grab a cup of coffee, since this can take quite a while (Compiling build deps, skia, and aseprite) * Grab a cup of coffee, since this can take quite a while (Compiling build deps, skia, and aseprite)
You can now find the compiled version of Aseprite in the `output/aseprite/build/bin` folder You can now find the compiled version of Aseprite in the `output/aseprite/build/bin` folder