mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-02 00:44:59 +00:00
feat(aio): entrypoint, update workflows (#1872)
This commit is contained in:
parent
743095b7d8
commit
abc9360dc6
9 changed files with 191 additions and 16 deletions
5
Makefile
5
Makefile
|
@ -536,7 +536,6 @@ grpcs: prepare $(GRPC_BACKENDS)
|
|||
|
||||
DOCKER_IMAGE?=local-ai
|
||||
DOCKER_AIO_IMAGE?=local-ai-aio
|
||||
DOCKER_AIO_SIZE?=cpu
|
||||
IMAGE_TYPE?=core
|
||||
BASE_IMAGE?=ubuntu:22.04
|
||||
|
||||
|
@ -549,11 +548,9 @@ docker:
|
|||
-t $(DOCKER_IMAGE) .
|
||||
|
||||
docker-aio:
|
||||
@echo "Building AIO image with size $(DOCKER_AIO_SIZE)"
|
||||
@echo "Building AIO image with base image $(BASE_IMAGE)"
|
||||
@echo "Building AIO image with base $(BASE_IMAGE) as $(DOCKER_AIO_IMAGE)"
|
||||
docker build \
|
||||
--build-arg BASE_IMAGE=$(BASE_IMAGE) \
|
||||
--build-arg SIZE=$(DOCKER_AIO_SIZE) \
|
||||
-t $(DOCKER_AIO_IMAGE) -f Dockerfile.aio .
|
||||
|
||||
docker-aio-all:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue