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 601902c commit d5961afCopy full SHA for d5961af
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
@@ -24,7 +24,10 @@ This repo checks daily for the latest version and tries to publish it.
24
## As Script
25
26
```bash
27
-docker run --rm -v $(pwd):/app commitizen/commitizen:latest /bin/sh -c 'cz bump --changelog'
+docker run --rm \
28
+ -v $(pwd):/app \
29
+ commitizen/commitizen:latest \
30
+ bump --changelog
31
```
32
33
## Inside container
@@ -33,7 +36,10 @@ Open a terminal inside docker with `cz` available and with the current directory
36
This way we can run any `cz` command.
34
37
35
38
-docker run --rm -it -v $(pwd):/app commitizen/commitizen:latest
39
+docker run --rm -it \
40
+ --entrypoint /bin/sh \
41
42
+ commitizen/commitizen:latest
43
44
45
## Contributing
@@ -49,5 +55,5 @@ docker run --rm -it -v $(pwd):/app commitizen/commitizen:latest
49
55
50
56
51
57
./scripts/build
52
-./scripts/run 'cz ls'
58
+./scripts/cz ls
53
59
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:2 /bin/sh -c "$@"
+docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:2 "$@"
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments