diff --git a/Dockerfile b/Dockerfile index f3d58f89a..08c6e5dc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ ARG GO_VERSION=1.15 ARG BATS_VERSION=v1.2.0 +ARG UMOCI_VERSION=v0.4.6 FROM golang:${GO_VERSION}-buster ARG DEBIAN_FRONTEND=noninteractive @@ -55,7 +56,8 @@ RUN cd /tmp \ && rm -rf /tmp/bats-core # install umoci -RUN curl -o /usr/local/bin/umoci -fsSL https://github.com/opencontainers/umoci/releases/download/v0.4.5/umoci.amd64 \ +ARG UMOCI_VERSION +RUN curl -o /usr/local/bin/umoci -fsSL https://github.com/opencontainers/umoci/releases/download/${UMOCI_VERSION}/umoci.amd64 \ && chmod +x /usr/local/bin/umoci COPY script/tmpmount / diff --git a/Vagrantfile.centos7 b/Vagrantfile.centos7 index 75b74766c..f6f6d204e 100644 --- a/Vagrantfile.centos7 +++ b/Vagrantfile.centos7 @@ -17,6 +17,7 @@ Vagrant.configure("2") do |config| # configuration GO_VERSION="1.15" BATS_VERSION="v1.2.0" + UMOCI_VERSION="v0.4.6" # install yum packages yum install -y -q epel-release @@ -28,7 +29,7 @@ Vagrant.configure("2") do |config| curl -fsSL "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" | tar Cxz /usr/local # Install umoci - curl -o /usr/local/bin/umoci -fsSL https://github.com/opencontainers/umoci/releases/download/v0.4.5/umoci.amd64 + curl -o /usr/local/bin/umoci -fsSL https://github.com/opencontainers/umoci/releases/download/${UMOCI_VERSION}/umoci.amd64 chmod +x /usr/local/bin/umoci # install bats diff --git a/Vagrantfile.fedora33 b/Vagrantfile.fedora33 index 6e4a63145..a32bed4a0 100644 --- a/Vagrantfile.fedora33 +++ b/Vagrantfile.fedora33 @@ -37,7 +37,8 @@ EOF chown -R rootless.rootless /home/rootless # Install umoci - curl -o /usr/local/bin/umoci -fsSL https://github.com/opencontainers/umoci/releases/download/v0.4.5/umoci.amd64 + UMOCI_VERSION=v0.4.6 + curl -o /usr/local/bin/umoci -fsSL https://github.com/opencontainers/umoci/releases/download/${UMOCI_VERSION}/umoci.amd64 chmod +x /usr/local/bin/umoci # Add busybox for libcontainer/integration tests