Sign inSign up

flipstone/stack

By flipstone

Updated over 3 years ago

Image
0

10K+

flipstone/stack repository overview

Usage

This image provides stack installed in Debian stretch linux. The intended use is as a source of the stack tool for Haskell projects where the development environment is managed with Docker. It is highly recommended to keep your stack-root and stack-work directories in Docker volumes to maximize compilation speed.

stack-root Location

This image sets the STACK_ROOT environment variable to /stack-root to simplify and standardize the location to mount a volume to hold the stack root.

Example docker-compose.yml

version: "3"
services:
  dev:
    image: flipstone/stack:v2-1.7.1
    volumes:
      - .:/dev
      - stack-work:/dev/.stack-work
      - stack-root:/stack-root
    working_dir: /dev

volumes:
  stack-root:
  stack-work:

Tag summary

Content type

Image

Digest

sha256:4ec227005

Size

181.5 MB

Last updated

over 3 years ago

docker pull flipstone/stack:v7-2.9.3