File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ FROM python:${PYTHON_VERSION}
6
6
WORKDIR /src
7
7
COPY . .
8
8
9
- ARG VERSION
9
+ ARG VERSION=0.0.0.dev0
10
10
RUN --mount=type=cache,target=/cache/pip \
11
11
PIP_CACHE_DIR=/cache/pip \
12
12
SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ RUN addgroup --gid $gid sphinx \
13
13
WORKDIR /src
14
14
COPY . .
15
15
16
- ARG VERSION
16
+ ARG VERSION=0.0.0.dev0
17
17
RUN --mount=type=cache,target=/cache/pip \
18
18
PIP_CACHE_DIR=/cache/pip \
19
19
SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} \
Original file line number Diff line number Diff line change 13
13
14
14
SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER ?= $(shell git describe --match '[0-9]* ' --dirty='.m' --always --tags 2>/dev/null | sed -r 's/-([0-9]+) /.dev\1/' | sed 's/-/+/')
15
15
ifeq ($(SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER ) ,)
16
- SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER = "dev "
16
+ SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER = "0.0.0.dev0 "
17
17
endif
18
18
19
19
.PHONY : all
@@ -33,7 +33,7 @@ build-dind-ssh:
33
33
--build-arg VERSION=${SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER} \
34
34
--build-arg ENGINE_VERSION=${TEST_ENGINE_VERSION} \
35
35
--build-arg API_VERSION=${TEST_API_VERSION} \
36
- --build-arg APT_MIRROR .
36
+ .
37
37
38
38
.PHONY : build
39
39
build :
42
42
-t docker-sdk-python3 \
43
43
-f tests/Dockerfile \
44
44
--build-arg VERSION=${SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER} \
45
- --build-arg APT_MIRROR .
45
+ .
46
46
47
47
.PHONY : build-docs
48
48
build-docs :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN curl -sSL -o /opt/docker-credential-pass.tar.gz \
28
28
WORKDIR /src
29
29
COPY . .
30
30
31
- ARG VERSION
31
+ ARG VERSION=0.0.0.dev0
32
32
RUN --mount=type=cache,target=/cache/pip \
33
33
PIP_CACHE_DIR=/cache/pip \
34
34
SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} \
You can’t perform that action at this time.
0 commit comments