Add bundle install script (sans update)

This commit is contained in:
Jake Spain 2023-03-06 15:27:52 -05:00
parent f1284ea0fc
commit 631f28c8fe
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113

6
docker/install-gemfile-lock Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
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 git netbase && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'