Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k-bx/docker-ghc-7.6
copy-paste of docker-ghc-7.8 repo
https://github.com/k-bx/docker-ghc-7.6
Last synced: 13 days ago
JSON representation
copy-paste of docker-ghc-7.8 repo
- Host: GitHub
- URL: https://github.com/k-bx/docker-ghc-7.6
- Owner: k-bx
- Created: 2014-05-07T16:32:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-07T16:34:45.000Z (over 10 years ago)
- Last Synced: 2024-10-04T15:44:03.423Z (about 1 month ago)
- Language: Shell
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dockerfile for GHC 7.6 on Ubuntu 12.04
======================================Building:
```
sudo docker build -t kobx/ghc-7.6 .
```Running:
First, pull an image:
```
sudo docker pull kobx/ghc-7.6
```Then run it:
```
sudo docker run -d -P --name ghc -v /home/username/workspace/myproj:/root/myproj:rw kobx/ghc-7.6
```Connecting (password is "docker"):
```
➜ docker-ghc-7.6 sudo docker port ghc 22
0.0.0.0:49153
➜ docker-ghc-7.6 ssh [email protected] -p 49153
[email protected]'s password:
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)* Documentation: https://help.ubuntu.com/
Last login: Sat Apr 12 21:15:37 2014 from 172.17.42.1
root@e7bee61ffb12:~# ghci
GHCi, version 7.6: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
```Stopping / removing running image:
```
sudo docker stop ghc
sudo docker rm ghc
```