You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
607 B
Makefile
21 lines
607 B
Makefile
# Copyright (c) 2022 Joseph Hale
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
build:
|
|
docker build \
|
|
--tag thehale/python-poetry:latest \
|
|
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
|
--cache-from thehale/python-poetry:latest \
|
|
.
|
|
|
|
build-version:
|
|
docker build \
|
|
--tag thehale/python-poetry:$(POETRY_VERSION)-py$(PYTHON_IMAGE_TAG) \
|
|
--build-arg POETRY_VERSION=$(POETRY_VERSION) \
|
|
--build-arg PYTHON_IMAGE_TAG=$(PYTHON_IMAGE_TAG) \
|
|
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
|
--cache-from thehale/python-poetry:$(POETRY_VERSION)-py$(PYTHON_IMAGE_TAG) \
|
|
.
|