summaryrefslogtreecommitdiff
path: root/.expeditor/update_dockerfile.sh
blob: 9ae260fcb8612ad02d0b645c184ae51bfda55382 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
#
# This file updates the default VERSION build argument in the Dockerfile to the
# VERSION passed in to the file via environment variables.

set -evx

sed -i -r "s/^ARG VERSION=.+/ARG VERSION=${VERSION}/" Dockerfile