ubuntu prerequisites
# Multiprecision arithmetic library developers tools
sudo apt-get install libgmp-dev -y
sudo -K
| import Foundation | |
| public class CredentialHelper { | |
| // MARK: Init | |
| private var host: String | |
| private var protectionSpace: NSURLProtectionSpace | |
| public init(host: String) { | |
| self.host = host | |
| protectionSpace = NSURLProtectionSpace(host: host, port: 0, `protocol`: "http", realm: nil, authenticationMethod: nil) |
| # build with | |
| # docker build -t 'necrobious/haskell-ghc-7.8-64' . | |
| FROM ubuntu:14.04 | |
| MAINTAINER [email protected] | |
| ENV DEBIAN_FRONTEND noninteractive | |
| ####### Install Dependencies ################################################### | |
| RUN apt-get -y update |