From fb299896b9aaffd90c0f3f9c411db277ebb2d712 Mon Sep 17 00:00:00 2001 From: xackery Date: Sun, 1 Oct 2023 13:52:52 -0700 Subject: [PATCH] Add non-compose support --- Makefile | 14 ++++++++++++++ README.md | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dab6b4c --- /dev/null +++ b/Makefile @@ -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} . \ No newline at end of file diff --git a/README.md b/README.md index 65e0605..85dd315 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,7 @@ If any of the folders of the projects folder isn't empty, the script will skip c * Install docker * Clone this repository * cd into cloned repository - * Run `docker-compose build` - * Run `docker-compose up` + * Run `make build` or `make build-compose` (The latter will use docker-compose to build the image) * 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