-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
20 lines (18 loc) · 607 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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) \
.