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