mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
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:
parent
16bd5fd0ac
commit
378b1d15d5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue