Fix the Dockerfile updating script

Normally the latest stable version would be hardcoded into the
Dockerfile, but the update_version.sh script was not updated to use
the new `EXPEDITOR_` prefixed environment variable. This fixes the
script and the Dockerfile.

Signed-off-by: Tom Duffield <tom@chef.io>
This commit is contained in:
Tom Duffield 2019-08-08 09:12:24 -05:00
parent 16bd5fd0ac
commit 378b1d15d5
No known key found for this signature in database
GPG key ID: 1F38F93AAC11A304
2 changed files with 2 additions and 2 deletions

View file

@ -10,4 +10,4 @@
set -evx
sed -i -r "s/^ARG VERSION=.*/ARG VERSION=${VERSION}/" Dockerfile
sed -i -r "s/^ARG VERSION=.*/ARG VERSION=${EXPEDITOR_VERSION}/" Dockerfile

View file

@ -2,7 +2,7 @@ FROM ruby:alpine
LABEL maintainer="Chef Software, Inc. <docker@chef.io>"
ARG EXPEDITOR_VERSION
ARG VERSION
ARG VERSION=4.10.4
ARG GEM_SOURCE=https://rubygems.org
# Allow VERSION below to be controlled by either VERSION or EXPEDITOR_VERSION build arguments