Run bundle update too, print exit code

This modifies the update script so that it explicitly runs 'bundle
update' in addition to 'bundle install' and makes the last step to be
printing of the exit code.
This commit is contained in:
Gene Liverman 2021-12-07 10:47:21 -05:00
parent 38b4b5a98e
commit b0fe46435f
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6

View file

@ -3,4 +3,4 @@
docker run -it --rm \
-v $(pwd):/app \
$(grep ^FROM ./Dockerfile |cut -d ' ' -f2) \
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends make && cd /app && gem install bundler && bundle install --jobs 3'
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends make && cd /app && gem install bundler && bundle install --jobs 3 && bundle update; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'