File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM ruby:2.6.8 -alpine3.13
1
+ FROM ruby:2.7.5 -alpine3.13
2
2
3
3
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.11/supercronic-linux-amd64 \
4
4
SUPERCRONIC=supercronic-linux-amd64 \
@@ -26,16 +26,18 @@ RUN set -ex && \
26
26
apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev git && \
27
27
apk upgrade && \
28
28
gem install bundler -v $(cat BUNDLER_VERSION) && \
29
- ls /usr/local/lib/ruby/gems/2.6 .0 && \
30
- gem install rdoc -v "6.3.2" --install-dir /usr/local/lib/ruby/gems/2.6 .0 && \
31
- gem uninstall --install-dir /usr/local/lib/ruby/gems/2.6 .0 -x rake && \
29
+ ls /usr/local/lib/ruby/gems/2.7 .0 && \
30
+ gem install rdoc -v "6.3.2" --install-dir /usr/local/lib/ruby/gems/2.7 .0 && \
31
+ gem uninstall --install-dir /usr/local/lib/ruby/gems/2.7 .0 -x rake && \
32
32
find /usr/local/lib/ruby -name webrick* -exec rm -rf {} + && \
33
33
find /usr/local/lib/ruby -name rdoc-6.1* -exec rm -rf {} + && \
34
34
bundle config set deployment 'true' && \
35
35
bundle config set no-cache 'true' && \
36
36
bundle config set without 'development test' && \
37
37
bundle install && \
38
38
rm -rf vendor/bundle/ruby/*/cache .bundle/cache && \
39
+ find /usr/local/bundle/gems/ -name *.pem | grep -e sample -e test | xargs rm -rf {} + && \
40
+ find /usr/local/bundle/gems/ -name *.key | grep -e sample -e test | xargs rm -rf {} + && \
39
41
apk del make gcc libc-dev git
40
42
41
43
# Install source
Original file line number Diff line number Diff line change @@ -179,4 +179,4 @@ DEPENDENCIES
179
179
webrick (~> 1.6 )
180
180
181
181
BUNDLED WITH
182
- 2.2.10
182
+ 2.3.6
You can’t perform that action at this time.
0 commit comments