Skip to content

Commit

Permalink
Set the default Ruby version explicitly
Browse files Browse the repository at this point in the history
Without this, an error is thrown on startup
  • Loading branch information
jeffbyrnes committed Jul 21, 2016
1 parent 4be6f9a commit 6322fe7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile-full
Expand Up @@ -7,6 +7,8 @@ CMD ["/sbin/my_init"]

EXPOSE 8080

RUN bash -lc 'rvm --default use ruby-2.3.1'

COPY nginx.conf /etc/nginx/sites-enabled/default

RUN gem install vault -v 0.4.0
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-ruby22
Expand Up @@ -7,6 +7,8 @@ CMD ["/sbin/my_init"]

EXPOSE 8080

RUN bash -lc 'rvm --default use ruby-2.2.5'

COPY nginx-ruby22.conf /etc/nginx/sites-enabled/default

RUN gem install vault -v 0.4.0
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-ruby23
Expand Up @@ -7,6 +7,8 @@ CMD ["/sbin/my_init"]

EXPOSE 8080

RUN bash -lc 'rvm --default use ruby-2.3.1'

COPY nginx.conf /etc/nginx/sites-enabled/default

RUN gem install vault -v 0.4.0
Expand Down

0 comments on commit 6322fe7

Please sign in to comment.