commercialhaskell / commercialhaskell/stack

docker cannot find the Docker image for LTS 16.31.

Open
#5,497 5 comments 2 reactions 0 assignees View on GitHub
component: docker component: macOS further investigation required type: bug
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

General summary/comments (optional)
stack --docker cannot find the Docker image for LTS 16.31.

Steps to reproduce
Create a new Stack project:
stack new test-docker
cd test-docker
Edit stack.yaml to say:
resolver: lts-16.31
packages:
- .
Run:
stack --docker build
Expected
Dockerized build of a fresh package.

Actual
```
Pulling image from registry: 'fpco/stack-build:lts-16.31'
fork/exec /usr/local/bin/com.docker.cli: bad file descriptor
Could not pull Docker image:
fpco/stack-build:lts-16.31
There may not be an image on the registry for your resolver's LTS version in
your configuration file.
```

Stack version
$ stack --version
Version 2.5.1, Git revision d6ab861544918185236cf826cb2028abb266d6d5 x86_64 hpack-0.33.0
Method of installation
Official binary, downloaded from stackage.org or fpcomplete's package repository

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.