mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
21 lines
361 B
Docker
21 lines
361 B
Docker
|
|
#
|
|
# Build alice using a dockerized go version
|
|
#
|
|
|
|
DOCKER := docker
|
|
|
|
DOCKER_CONTAINER := alice-lg-build
|
|
DOCKER_IMAGE := golang:1.16
|
|
|
|
DOCKER_EXEC := $(DOCKER) run --rm -t -i \
|
|
-a stdin -a stdout -a stderr \
|
|
-v `pwd`/../../:/src/alice-lg \
|
|
--name $(DOCKER_CONTAINER) \
|
|
--workdir /src/alice-lg/cmd/alice-lg \
|
|
$(DOCKER_IMAGE)
|
|
|
|
all:
|
|
$(DOCKER_EXEC) make static
|
|
|