File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
- FROM ruby:2.6.5
1
+ FROM ruby:3.0.6
2
2
3
3
ENV LANG C.UTF-8
4
4
@@ -11,19 +11,11 @@ RUN apt-get update -qq \
11
11
12
12
ENV ENTRYKIT_VERSION 0.4.0
13
13
14
- RUN wget https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSION}/entrykit_${ENTRYKIT_VERSION}_Linux_x86_64.tgz \
15
- && tar -xvzf entrykit_${ENTRYKIT_VERSION}_Linux_x86_64.tgz \
16
- && rm entrykit_${ENTRYKIT_VERSION}_Linux_x86_64.tgz \
17
- && mv entrykit /bin/entrykit \
18
- && chmod +x /bin/entrykit \
19
- && entrykit --symlink
20
14
21
15
RUN mkdir /app
22
16
23
17
WORKDIR /app
24
18
25
19
RUN bundle config build.nokogiri --use-system-libraries
26
20
27
- ENTRYPOINT [ \
28
- "prehook" , "ruby -v" , "--" , \
29
- "prehook" , "bundle install -j3 --quiet" , "--" ]
21
+ ENTRYPOINT [ "./entrypoint.rb" ]
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env ruby
2
+
3
+ system ( "ruby -v" )
4
+ system ( "gem install bundler:2.4.7" )
5
+ system ( "bundle install -j3 --quiet" )
6
+
7
+ exec *ARGV
You can’t perform that action at this time.
0 commit comments