degica / kaiser

Commandline Gem that allows you to work with web apps better
https://tech.degica.com/kaiser/
MIT License
12 stars 1 forks source link

Update installation instructions of kaiser via Docker #62

Closed FTLam11 closed 1 year ago

FTLam11 commented 4 years ago

I think we should add a note about running bundle install prior to building the kaiser container. Gemfile.lock won't exist otherwise, and the build will error out:

~/Documents/kaiser • docker build -t degica/kaiser .
Sending build context to Docker daemon  547.3kB
Step 1/10 : FROM ruby:alpine
 ---> b46ea0bc5984
Step 2/10 : RUN apk update && apk add docker build-base git curl
 ---> Using cache
 ---> 23ba2c3df671
Step 3/10 : ADD bin /app/bin
 ---> Using cache
 ---> ddc67914747e
Step 4/10 : ADD exe /app/exe
 ---> Using cache
 ---> 810a45cef209
Step 5/10 : ADD lib /app/lib
 ---> Using cache
 ---> 61d8bf69554f
Step 6/10 : ADD spec /app/spec
 ---> Using cache
 ---> 3590e2e55265
Step 7/10 : ADD Gemfile Gemfile.lock kaiser.gemspec Rakefile entrypoint.sh /app/
ADD failed: stat /var/lib/docker/tmp/docker-builder177632162/Gemfile.lock: no such file or directory