Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

CMD statement in Dockerfile does not work #12

Closed
MatthiasHinz opened this issue Dec 20, 2016 · 1 comment
Closed

CMD statement in Dockerfile does not work #12

MatthiasHinz opened this issue Dec 20, 2016 · 1 comment

Comments

@MatthiasHinz
Copy link

Hi,
I just wondered why R is not starting up when I execute, for instance, the following shell command:

docker run -i -t rocker/r-ver
(a debian shell shows up instead of R)

So I had had a look at the Dockerfiles of the r-ver folder and noticed a bug.

Have a look at
https://github.com/rocker-org/rocker-versioned/blob/master/r-ver/Dockerfile

The last 'RUN'-statement ends with a backslash \ in line 115. This means that the following CMD command is interpreted as part of the RUN statement and has no effect.

@cboettig
Copy link
Member

@MatthiasHinz whoops, thanks. should be fixed soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants