use Gemfile.lock from now on

This commit is contained in:
Christian Mehlmauer
2017-04-12 20:18:13 +02:00
parent 37b99f9baa
commit c148295f64
2 changed files with 70 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ cd $DIR/../
# always rebuild and include all GEMs
docker build --build-arg "BUNDLER_ARGS=--system --jobs=8" -t wpscan:rspec .
# update all gems (this updates Gemfile.lock on the host)
touch $DIR/../Gemfile.lock
docker run --rm -u root -v $DIR/../Gemfile.lock:/wpscan/Gemfile.lock --entrypoint "" wpscan:rspec bundle update
# rebuild image with latest GEMs
docker build --build-arg "BUNDLER_ARGS=--system --jobs=8" -t wpscan:rspec .