lang: add and update things
This commit is contained in:
parent
9ec4f5def0
commit
fae932df8b
|
@ -1,9 +1,7 @@
|
|||
from "xena/alpine"
|
||||
|
||||
run %q[ apk add -U openssl \
|
||||
&& wget https://xena.greedo.xeserv.us/pkg/bin/go1.8-linux-amd64-glibc.gz -O go1.8.gz \
|
||||
&& gunzip go1.8.gz && mv go1.8 /usr/local/bin \
|
||||
&& apk del openssl]
|
||||
run "apk add --no-cache go1.8.1"
|
||||
|
||||
flatten
|
||||
tag "xena/go-mini:1.8"
|
||||
tag "xena/go-mini:1.8.1"
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
from "xena/alpine"
|
||||
|
||||
run %q[ apk add --no-cache wget && cd /usr/local \
|
||||
&& wget -O go.tgz https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz \
|
||||
&& tar xf go.tgz && rm go.tgz ]
|
||||
|
||||
env "PATH" => "$PATH:/usr/local/go/bin"
|
||||
|
||||
flatten
|
||||
tag "xena/go:1.8"
|
||||
tag "xena/go:1.8.1"
|
|
@ -0,0 +1,7 @@
|
|||
from "xena/alpine"
|
||||
|
||||
run "apk add gmp"
|
||||
run "rm /usr/bin/vardene"
|
||||
|
||||
flatten
|
||||
tag "xena/haskell"
|
|
@ -0,0 +1,3 @@
|
|||
FROM xena/alpine
|
||||
|
||||
RUN apk add -U curl && curl -sSL https://get.haskellstack.org/ | sh
|
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env ruby
|
||||
# encoding: utf-8
|
||||
|
||||
from "xena/alpine"
|
||||
|
||||
# update envvars
|
||||
env "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/nim/bin:/root/.nimble/bin",
|
||||
"NIM_VERSION" => "0.16.0"
|
||||
|
||||
# system deps
|
||||
run %q[ apk add --no-cache --virtual nim-compiler-deps wget libc-dev gcc libgcc git perl xz tar \
|
||||
&& apk add --no-cache libressl ca-certificates libcrypto1.0 libssl1.0 ]
|
||||
|
||||
# download and build nim and nimble
|
||||
run %q[ mkdir -p /opt && cd /opt \
|
||||
&& wget https://nim-lang.org/download/nim-$NIM_VERSION.tar.xz \
|
||||
&& /usr/bin/tar xJf nim-$NIM_VERSION.tar.xz && rm -f nim-$NIM_VERSION.tar.xz \
|
||||
&& mv nim-$NIM_VERSION nim && cd nim \
|
||||
&& sh build.sh \
|
||||
&& cd .. && git clone https://github.com/nim-lang/nimble.git \
|
||||
&& cd nimble && nim -d:release c -r src/nimble -y install ]
|
||||
|
||||
# shipit
|
||||
flatten
|
||||
tag "xena/nim:0.16.0"
|
Loading…
Reference in New Issue