lang/all: upgrade versions
This commit is contained in:
parent
3f5bc24740
commit
3b44569e2e
|
@ -1,8 +1,8 @@
|
||||||
from "xena/alpine"
|
from "xena/alpine"
|
||||||
|
|
||||||
run "apk add --no-cache go1.8.3"
|
run "apk add --no-cache go1.9"
|
||||||
copy "./go", "/usr/bin/go"
|
copy "./go", "/usr/bin/go"
|
||||||
|
|
||||||
flatten
|
flatten
|
||||||
tag "xena/go-mini:1.8"
|
tag "xena/go-mini:1.9"
|
||||||
tag "xena/go-mini:1.8.3"
|
tag "xena/go-mini:1.9"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec go1.8.3 $*
|
exec go1.9 $*
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
|
$goVer = "1.9"
|
||||||
|
$goVerFam = "1.9"
|
||||||
|
|
||||||
from "xena/alpine"
|
from "xena/alpine"
|
||||||
|
|
||||||
run %q[ apk add --no-cache wget && cd /usr/local \
|
run %q[ apk add --no-cache wget && cd /usr/local \
|
||||||
&& wget -O go.tgz https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz \
|
&& wget -O go.tgz https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz \
|
||||||
&& tar xf go.tgz && rm go.tgz ]
|
&& tar xf go.tgz && rm go.tgz ]
|
||||||
|
|
||||||
env "PATH" => "$PATH:/usr/local/go/bin"
|
env "PATH" => "$PATH:/usr/local/go/bin"
|
||||||
|
|
||||||
flatten
|
flatten
|
||||||
tag "xena/go:1.8"
|
tag "xena/go:#{$goVerFam}"
|
||||||
tag "xena/go:1.8.3"
|
tag "xena/go:#{$goVer}"
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
#!/usr/bin/env ruby
|
$nimVer = "0.17.2"
|
||||||
# encoding: utf-8
|
|
||||||
|
|
||||||
from "xena/alpine"
|
from "xena/alpine"
|
||||||
|
|
||||||
# update envvars
|
# update envvars
|
||||||
env "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/nim/bin:/root/.nimble/bin",
|
env "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/nim/bin:/root/.nimble/bin",
|
||||||
"NIM_VERSION" => "0.17.2"
|
"NIM_VERSION" => $nimVer
|
||||||
|
|
||||||
# system deps
|
# system deps
|
||||||
run %q[ apk add --no-cache --virtual nim-compiler-deps wget libc-dev gcc libgcc git perl xz tar \
|
run %q[ apk add --no-cache --virtual nim-compiler-deps wget libc-dev gcc libgcc git perl xz tar \
|
||||||
|
@ -22,4 +21,4 @@ run %q[ mkdir -p /opt && cd /opt \
|
||||||
|
|
||||||
# shipit
|
# shipit
|
||||||
flatten
|
flatten
|
||||||
tag "xena/nim:0.17.2"
|
tag "xena/nim:#{$nimVer}"
|
||||||
|
|
Loading…
Reference in New Issue