You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a problem with the alpine images. At least there is for me.
I also tried the deprecated java:8-jre-alpine image and got the same result.
The problem is your $FINALNAME argument -- ["java", "-jar", $FINALNAME] is not valid JSON, so it's passed to the shell as-is, and that's why your error message references [java, as the command that's not found (it's being passed to the shell). If you must have that final argument come from an environment variable, you'll have to switch to the shell syntax, although using exec can ensure that java still ends up being the only thing running:
There seems to be a problem with the alpine images. At least there is for me.
I also tried the deprecated java:8-jre-alpine image and got the same result.
Dockerfile:
(Do not worry about the
FINALNAME
argument, that works as it should, my problem is theCMD
line)Run command:
I have tried it with both docker 1.12 and 1.13.
I've tried running a container from my image specifying the command myself.
The text was updated successfully, but these errors were encountered: