Bug 1404434 - Container Review Request: calc - Arbitrary-precision arithmetic system and calculator — in a container!
Summary: Container Review Request: calc - Arbitrary-precision arithmetic system and ca...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 20:42 UTC by Matthew Miller
Modified: 2018-08-01 03:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Matthew Miller 2016-12-13 20:42:18 UTC
Dockerfile: https://mattdm.org/misc/fedora/dockerfiles/calc/Dockerfile
Description: Arbitrary-precision arithmetic system and calculator — in a container!
Fedora Account System Username: mattdm

Comment 1 Lars Kellogg-Stedman 2016-12-14 17:44:42 UTC
Setting 'help' as the default command makes it unclear how to run the container in interactive mode...which also means that anything involving i/o redirection will also fail, as in:

    echo 2+2 | docker run -i --rm calc

Or:

    docker run -i --rm calc < somefile

It turns out that passing an empty command will work...

    docker run -it --rm calc ''

...but that isn't necessarily intuitive.  I would just drop the CMD directive from the Dockerfile.

Comment 2 Brian Clark 2018-08-01 03:21:11 UTC
I also had a hard time trying to use this app.  Building against a container that should probably be EOL.  Despite that it seems to build.


Note You need to log in before you can comment on or make changes to this bug.