Skip to content

Commit

Permalink
chore(docker): update images to install apprisals
Browse files Browse the repository at this point in the history
  • Loading branch information
marian13 committed Sep 13, 2022
1 parent 44c1035 commit bd385df
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
##
# NOTE: A command to build image.
#
# cd convenient_service
# docker build . -f docker/2.7/Dockerfile -t convenient_service:2.7
#
# NOTE: A command to run bash in container.
#
# cd convenient_service
# docker run --rm -it -v $(pwd):/gem convenient_service:2.7 bash
#
FROM ruby:2.7

RUN mkdir -p /gem
Expand All @@ -14,3 +25,5 @@ COPY . /gem
ENV BUNDLE_GEMFILE=Gemfile.2.7

RUN bundle install

RUN bundle exec appraisal install
13 changes: 13 additions & 0 deletions docker/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
##
# NOTE: A command to build image.
#
# cd convenient_service
# docker build . -f docker/3.0/Dockerfile -t convenient_service:3.0
#
# NOTE: A command to run bash in container.
#
# cd convenient_service
# docker run --rm -it -v $(pwd):/gem convenient_service:3.0 bash
#
FROM ruby:3.0

RUN mkdir -p /gem
Expand All @@ -14,3 +25,5 @@ COPY . /gem
ENV BUNDLE_GEMFILE=Gemfile.3.0

RUN bundle install

RUN bundle exec appraisal install
13 changes: 13 additions & 0 deletions docker/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
##
# NOTE: A command to build image.
#
# cd convenient_service
# docker build . -f docker/3.1/Dockerfile -t convenient_service:3.1
#
# NOTE: A command to run bash in container.
#
# cd convenient_service
# docker run --rm -it -v $(pwd):/gem convenient_service:3.1 bash
#
FROM ruby:3.1

RUN mkdir -p /gem
Expand All @@ -14,3 +25,5 @@ COPY . /gem
ENV BUNDLE_GEMFILE=Gemfile.3.1

RUN bundle install

RUN bundle exec appraisal install

0 comments on commit bd385df

Please sign in to comment.