We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc9bac2 commit 441e59fCopy full SHA for 441e59f
Dockerfile
@@ -9,4 +9,6 @@ RUN ["pip", "install", "-U", "--no-cache-dir", "pip"]
9
ARG CZ_VERSION=2.28.0
10
RUN pip install --no-cache-dir commitizen==$CZ_VERSION
11
12
-CMD [ "cz", "version" ]
+ENTRYPOINT ["cz"]
13
+
14
+CMD [ "version" ]
README.md
@@ -25,7 +25,10 @@ This repo checks daily for the latest version and tries to publish it.
25
## As Script
26
27
```bash
28
-docker run --rm -v $(pwd):/app commitizen/commitizen:latest /bin/sh -c 'cz bump --changelog'
+docker run --rm \
29
+ -v $(pwd):/app \
30
+ commitizen/commitizen:latest \
31
+ bump --changelog
32
```
33
34
## Inside container
@@ -34,7 +37,10 @@ Open a terminal inside docker with `cz` available and with the current directory
37
This way we can run any `cz` command.
35
38
36
39
-docker run --rm -it -v $(pwd):/app commitizen/commitizen:latest
40
+docker run --rm -it \
41
+ --entrypoint /bin/sh \
42
43
+ commitizen/commitizen:latest
44
45
46
## Contributing
@@ -50,5 +56,5 @@ docker run --rm -it -v $(pwd):/app commitizen/commitizen:latest
50
56
51
57
52
58
./scripts/build
53
-./scripts/run 'cz ls'
59
+./scripts/cz ls
54
60
scripts/run renamed to scripts/cz
@@ -1,2 +1,2 @@
1
#!/bin/sh -ex
2
-docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 /bin/sh -c "$@"
+docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 "$@"
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments