We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6c6095 commit 77f1190Copy full SHA for 77f1190
Dockerfile
@@ -3,10 +3,8 @@ FROM ruby:2.4-alpine3.7
3
LABEL maintainer "[email protected]"
4
RUN apk add --no-cache git
5
6
-ENV BUNDLER_VERSION 1.16.1
7
-
8
COPY Gemfile Gemfile
9
-RUN gem install bundler --version $BUNDLER_VERSION \
+RUN gem install bundler --version $(cat Gemfile | grep bundler | awk -F "'" '{print $4}') \
10
&& bundle install --system \
11
&& gem uninstall bundler
12
Gemfile
@@ -1,3 +1,4 @@
1
source 'https://rubygems.org' do
2
+ gem 'bundler', '1.16.2'
gem 'github_changelog_generator', '1.14.3'
end
0 commit comments