1
0

Merge pull request #9 from xackery/xackery/docker

Add non-compose support
This commit is contained in:
nilsve 2023-10-11 15:31:52 +02:00 committed by GitHub
commit 7e71eab87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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