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
{{ message }}
Repository navigation
stack --docker doesn't work with docker 1.9.1 #1570
stack --docker build
Invalid 'docker inspect' output: Error in $[0].Config.Entrypoint: failed to parse field 'Config': failed to parse field Config: failed to parse field 'Entrypoint': failed to parse field Entrypoint: expected [a], encountered Null.
stack --version
Version 1.0.0 x86_64
docker --version
Docker version 1.9.1, build a34a1d59
I don't have docker inspect output for you because it's on a private image but if you can't replicate I could possibly arrange something.
$ stack --docker build
Invalid 'docker inspect' output: Error in $[0].Config.Entrypoint: failed to parse field 'Config': failed to parse field Config: failed to parse field 'Entrypoint': failed to parse field Entrypoint: expected [a], encountered Null.
with
$ stack --version
Version 1.0.1, Git revision d0d681983d72b92457f3f7e81db5eaf8d502f72d x86_64
$ docker --version
Docker version 1.9.1, build a34a1d5
I'll bet we're being bit by haskell/aeson#287. This only seems to happen when stack is built using LTS 4, and with the fpco/stack-*:lts-4 images that no longer have an entrypoint set.
Activity
Fuuzetsu commentedon Dec 28, 2015
also experienced with docker 1.8.1, will re-open after I can figure out what is actually failing.
3noch commentedon Jan 8, 2016
I'm seeing this too:
with
I'm on Mac OS X and I'm using LTS-4.0.
3noch commentedon Jan 8, 2016
Here's verbose output:
And the
inspectcommand:3noch commentedon Jan 8, 2016
Seems like
"Entrypoint": nullis the culprit, but don't you guys (stack team) make these containers?mgsloan commentedon Jan 8, 2016
Must be an OS X specific thing, I'm using stack's docker support fine with 1.9.1, on ubuntu 15.10.
Pinging @borsboom
borsboom commentedon Jan 8, 2016
I'll bet we're being bit by haskell/aeson#287. This only seems to happen when
stackis built using LTS 4, and with thefpco/stack-*:lts-4images that no longer have an entrypoint set.borsboom commentedon Jan 8, 2016
Should be fixed in latest master. Please re-open if the fix doesn't work for you.
Travis: Remove build with stack-8.0.yaml from allow_failures