Skip to content

Commit 2a4faa7

Browse files
committed
Remove entrykit for M1 Mac
1 parent a2b042e commit 2a4faa7

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Diff for: Dockerfile

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.6.5
1+
FROM ruby:3.0.6
22

33
ENV LANG C.UTF-8
44

@@ -11,19 +11,11 @@ RUN apt-get update -qq \
1111

1212
ENV ENTRYKIT_VERSION 0.4.0
1313

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
2014

2115
RUN mkdir /app
2216

2317
WORKDIR /app
2418

2519
RUN bundle config build.nokogiri --use-system-libraries
2620

27-
ENTRYPOINT [ \
28-
"prehook", "ruby -v", "--", \
29-
"prehook", "bundle install -j3 --quiet", "--"]
21+
ENTRYPOINT [ "./entrypoint.rb" ]

Diff for: entrypoint.rb

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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

0 commit comments

Comments
 (0)