Add prod container setup

This commit is contained in:
Gene Liverman 2021-12-08 16:56:17 -05:00
parent a48afb14eb
commit e12d470415
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6
9 changed files with 271 additions and 6 deletions

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 && cd /app && gem install bundler && bundle install --jobs 3 && bundle update; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'