Skip to content

Commit dcc8578

Browse files
committed
Use pypi in Dockerfile for getting changerelease
1 parent 877e080 commit dcc8578

File tree

4 files changed

+3
-24
lines changed

4 files changed

+3
-24
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
FROM python:3
22

3-
COPY requirements.txt /
3+
RUN pip install -U pip && pip install changerelease==1.0.0
44

5-
RUN pip install -U pip && pip install -r requirements.txt
6-
7-
COPY changerelease /changerelease
85
COPY entrypoint.sh /
96

107
ENTRYPOINT [ "/entrypoint.sh" ]

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh -ex
2-
python3 -m changerelease sync $@
2+
changerelease sync $@

requirements.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

scripts/release

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
poetry build
33
poetry publish
44
echo "Git tag and push this version"
5+
echo "And change the version in Dockerfile"
56
echo "And the v1 tag should be moved?"

0 commit comments

Comments
 (0)