commercialhaskell / commercialhaskell/stack
Add option to stack image container to print only the image ID, for scripting
Open
component: docker
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
stack `Version 1.2.0`.
Currently stack image container prints output like
```
➤ stack image container
Sending build context to Docker daemon 42.72 MB
Step 1 : FROM myregistry.example.com/asdf/asdf:tag-123
---> abc1234abc12
Step 2 : ADD ./ /
---> db1176411da0
Removing intermediate container eaeaeaeaeaea
Successfully built beefbeef1234
```
Could we have an option to make the output be only `beefbeef1234` so that it can be used for scripting?
Contributor guide
Assessment
This issue has not been assessed yet.