update latest versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-03-23 19:44:03 -04:00
parent 177c3b2076
commit 30d3a3744c
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
4 changed files with 10 additions and 9 deletions

View File

@ -28,8 +28,8 @@ RUN apt-get update && apt-get install -y \
ENV CRIO_VERSION v1.10.0-beta.1 ENV CRIO_VERSION v1.10.0-beta.1
ENV GO_VERSION 1.9.4 ENV GO_VERSION 1.9.4
ENV CNI_PLUGINS_VERSION v0.6.0 ENV PLUGINS_VERSION v0.7.0
ENV RUNC_VERSION v1.0.0-rc4 ENV RUNC_VERSION v0.1.1
# Install CNI plugins # Install CNI plugins
# Install runc (installs to /sbin/runc) # Install runc (installs to /sbin/runc)

View File

@ -9,7 +9,7 @@ RUN apk add --no-cache \
openjdk8 openjdk8
# https://github.com/bazelbuild/bazel/releases # https://github.com/bazelbuild/bazel/releases
ENV BAZEL_VERSION 0.5.0 ENV BAZEL_VERSION 0.11.1
# https://gerrit.googlesource.com/gitiles/ # https://gerrit.googlesource.com/gitiles/
ENV GITILES_VERSION v0.2-1 ENV GITILES_VERSION v0.2-1

View File

@ -37,10 +37,6 @@ get_latest() {
dir="couchpotato" dir="couchpotato"
elif [[ "$dir" == "cri-o" ]]; then elif [[ "$dir" == "cri-o" ]]; then
dir="crio" dir="crio"
elif [[ "$dir" == "SoftHSMv2" ]]; then
dir="golang-softhsm2"
elif [[ "$dir" == "bazel" ]]; then
dir="gitiles"
elif [[ "$dir" == "byte-unixbench" ]]; then elif [[ "$dir" == "byte-unixbench" ]]; then
dir="unixbench" dir="unixbench"
elif [[ "$dir" == "Tautulli" ]]; then elif [[ "$dir" == "Tautulli" ]]; then
@ -55,11 +51,12 @@ get_latest() {
local udir=$(echo $dir | awk '{print toupper($0)}') local udir=$(echo $dir | awk '{print toupper($0)}')
# Replace dashes (-) with underscores (_) # Replace dashes (-) with underscores (_)
udir=${udir//-/_} udir=${udir//-/_}
udir=${udir%/*}
local current local current
if [[ ! -d "$dir" ]]; then if [[ ! -d "$dir" ]]; then
# If the directory does not exist, then grep all for it # If the directory does not exist, then grep all for it
current=$(grep -m 1 "${udir}_VERSION" **/Dockerfile | awk '{print $(NF)}') current=$(grep -m 1 "${udir}_VERSION" **/Dockerfile | head -n 1 | awk '{print $(NF)}')
else else
current=$(cat "${dir}/Dockerfile" | grep -m 1 "${udir}_VERSION" | awk '{print $(NF)}') current=$(cat "${dir}/Dockerfile" | grep -m 1 "${udir}_VERSION" | awk '{print $(NF)}')
fi fi
@ -100,7 +97,11 @@ hashicorp/consul
coredns/coredns coredns/coredns
CouchPotato/CouchPotatoServer CouchPotato/CouchPotatoServer
kubernetes-incubator/cri-o kubernetes-incubator/cri-o
containernetworking/plugins
opencontainers/runc
curl/curl curl/curl
google/gitiles
bazelbuild/bazel
google/guetzli google/guetzli
irssi/irssi irssi/irssi
cryptodotis/irssi-otr cryptodotis/irssi-otr

View File

@ -1,5 +1,5 @@
FROM golang:1.9-alpine AS runc FROM golang:1.9-alpine AS runc
ARG RUNC_VERSION=9f9c96235cc97674e935002fc3d78361b696a69e ARG RUNC_VERSION 9f9c96235cc97674e935002fc3d78361b696a69e
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \ bash \
curl \ curl \