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 GO_VERSION 1.9.4
ENV CNI_PLUGINS_VERSION v0.6.0
ENV RUNC_VERSION v1.0.0-rc4
ENV PLUGINS_VERSION v0.7.0
ENV RUNC_VERSION v0.1.1
# Install CNI plugins
# Install runc (installs to /sbin/runc)

View File

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

View File

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

View File

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