Signed-off-by: Christine Dodrill <xena@yolo-swag.com>
This commit is contained in:
Christine Dodrill 2015-08-15 14:08:52 -07:00
parent c84e7311d9
commit 4e276d2411
No known key found for this signature in database
GPG Key ID: E9037B677CE55004
1 changed files with 15 additions and 15 deletions

View File

@ -16,14 +16,14 @@ hosts =
nimInstall :: Cmd.Script nimInstall :: Cmd.Script
nimInstall = nimInstall =
[ "mkdir /tmp/niminstall -p" [ "mkdir /tmp/niminstall -p"
, "cd /tmp/niminstall" , "cd /tmp/niminstall"
, "wget http://nim-lang.org/download/nim-0.11.2.tar.xz" , "wget http://nim-lang.org/download/nim-0.11.2.tar.xz"
, "tar xf nim-0.11.2.tar.xz" , "tar xf nim-0.11.2.tar.xz"
, "mv nim-0.11.2 /usr/local/nim" , "mv nim-0.11.2 /usr/local/nim"
, "cd /usr/local/nim" , "cd /usr/local/nim"
, "./build.sh" , "./build.sh"
] ]
baseHost :: HostName -> Host baseHost :: HostName -> Host
baseHost name = host name baseHost name = host name
@ -39,13 +39,13 @@ standardStableContainer name = standardContainer name (Stable "jessie") "amd64"
standardContainer :: Docker.ContainerName -> DebianSuite -> Architecture -> Docker.Container standardContainer :: Docker.ContainerName -> DebianSuite -> Architecture -> Docker.Container
standardContainer name suite arch = Docker.container name (dockerImage system) standardContainer name suite arch = Docker.container name (dockerImage system)
& os system & os system
& Apt.stdSourcesList `onChange` Apt.upgrade & Apt.stdSourcesList `onChange` Apt.upgrade
& Apt.unattendedUpgrades & Apt.unattendedUpgrades
& Apt.cacheCleaned & Apt.cacheCleaned
& Docker.tweaked & Docker.tweaked
where where
system = System (Debian suite) arch system = System (Debian suite) arch
dockerImage :: System -> Docker.Image dockerImage :: System -> Docker.Image
dockerImage _ = Docker.latestImage "debian" dockerImage _ = Docker.latestImage "debian"