Sign inSign up

rik911/haskell-stack

By rik911

•Updated about 3 years ago

This is an Ubuntu Docker image with a Haskell Stack installation.

Image
0

179

rik911/haskell-stack repository overview

⁠Haskell Stack

This is an Ubuntu Docker image with a Haskell Stack installation. The GitLab⁠ repository contains the source for building the image; the Docker⁠ repository contains the image for pulling, running and executing.

⁠Using from Docker

From a first prompt

$ docker run -it -u root -w /root --name=haskell-stack rik911/haskell-stack:0.0.0

From a second prompt

$ docker exec -it -u guest -w /home/guest haskell-stack bash
# ls -al
# use-stack  # step thru
# tree
# use-stack  # again
# cd hello-world
# cat Setup.hs
# cat stack.yaml | yq
# cat package.yaml | yq
# exit

⁠Building from GitLab

From the folder containing this read-me,

export STACK=0.0.0
export STEPS=SMALL  # or
export STEPS=BIG

Then

dock
show

2023-08-16

Tag summary

Content type

Image

Digest

sha256:800d63e86…

Size

829.2 MB

Last updated

about 3 years ago

docker pull rik911/haskell-stack:0.0.0