Nicky Nicolson commited on
Commit
193399b
·
1 Parent(s): 07fb169

specify Gemfile etc locally rm curl cmd

Browse files
Files changed (3) hide show
  1. Dockerfile +2 -6
  2. Gemfile +27 -13
  3. Gemfile.lock +106 -0
Dockerfile CHANGED
@@ -13,13 +13,9 @@ ENV JEKYLL_UID=0 \
13
  JEKYLL_ROOTLESS=1 \
14
  TZ=UTC
15
 
16
- # GBIF dockerfile
17
- RUN apk --no-cache add curl && \
18
- curl -Ss --output-dir /usr/src/app/ --remote-name --fail https://raw.githubusercontent.com/gbif/hp-template/master/Gemfile && \
19
- curl -Ss --output-dir /usr/src/app/ --remote-name --fail https://raw.githubusercontent.com/gbif/hp-template/master/Gemfile.lock
20
-
21
  WORKDIR /usr/src/app
22
- # COPY Gemfile ./
 
23
  RUN bundle config set frozen true
24
  RUN bundle install
25
  COPY . .
 
13
  JEKYLL_ROOTLESS=1 \
14
  TZ=UTC
15
 
 
 
 
 
 
16
  WORKDIR /usr/src/app
17
+ COPY Gemfile ./
18
+ COPY Gemfile.lock ./
19
  RUN bundle config set frozen true
20
  RUN bundle install
21
  COPY . .
Gemfile CHANGED
@@ -1,20 +1,34 @@
1
- source 'https://rubygems.org'
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- gem "jekyll", "~> 4.4.1"
4
- gem "jekyll-theme-architect"
 
5
  group :jekyll_plugins do
6
- gem "jekyll-sitemap"
 
 
7
  end
8
 
9
- # gem "kramdown-parser-gfm", "~> 1.1"
10
- # gem "webrick", "~> 1.7"
 
 
 
 
11
 
12
- # gem "jekyll-theme-architect", "~> 0.1.1"
 
13
 
14
- # gem "logger"
15
- # gem "base64"
16
- # gem "bigdecimal"
17
 
18
- # group :jekyll_plugins do
19
- # gem "jekyll-sitemap", "~> 1.4"
20
- # end
 
1
+ source "https://rubygems.org"
2
+ # Hello! This is where you manage which Jekyll version is used to run.
3
+ # When you want to use a different version, change it below, save the
4
+ # file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5
+ #
6
+ # bundle exec jekyll serve
7
+ #
8
+ # This will help ensure the proper Jekyll version is running.
9
+ # Happy Jekylling!
10
+ gem "jekyll", "~> 4.1.1"
11
+ # This is the default theme for new Jekyll sites. You may change this to anything you like.
12
+ gem "minima", "~> 2.5"
13
 
14
+ gem "jekyll-remote-theme"
15
+
16
+ # If you have any plugins, put them here!
17
  group :jekyll_plugins do
18
+ gem "jekyll-feed", "~> 0.12"
19
+ gem "jekyll-liquify"
20
+ gem "jekyll-thumbor", git: "https://github.com/gbif/jekyll-thumbor"
21
  end
22
 
23
+ # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
24
+ # and associated library.
25
+ platforms :mingw, :x64_mingw, :mswin, :jruby do
26
+ gem "tzinfo", "~> 1.2"
27
+ gem "tzinfo-data"
28
+ end
29
 
30
+ # Performance-booster for watching directories on Windows
31
+ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
32
 
 
 
 
33
 
34
+ gem "webrick", "~> 1.8"
 
 
Gemfile.lock ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GIT
2
+ remote: https://github.com/gbif/jekyll-thumbor
3
+ revision: 77df45e674bdc09089b9b21610608a6bc847cda0
4
+ specs:
5
+ jekyll-thumbor (0.0.1)
6
+ jekyll
7
+ ruby-thumbor
8
+ yaml
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ addressable (2.7.0)
14
+ public_suffix (>= 2.0.2, < 5.0)
15
+ colorator (1.1.0)
16
+ concurrent-ruby (1.1.7)
17
+ em-websocket (0.5.2)
18
+ eventmachine (>= 0.12.9)
19
+ http_parser.rb (~> 0.6.0)
20
+ eventmachine (1.2.7)
21
+ ffi (1.15.5)
22
+ forwardable-extended (2.6.0)
23
+ http_parser.rb (0.6.0)
24
+ i18n (1.8.5)
25
+ concurrent-ruby (~> 1.0)
26
+ jekyll (4.1.1)
27
+ addressable (~> 2.4)
28
+ colorator (~> 1.0)
29
+ em-websocket (~> 0.5)
30
+ i18n (~> 1.0)
31
+ jekyll-sass-converter (~> 2.0)
32
+ jekyll-watch (~> 2.0)
33
+ kramdown (~> 2.1)
34
+ kramdown-parser-gfm (~> 1.0)
35
+ liquid (~> 4.0)
36
+ mercenary (~> 0.4.0)
37
+ pathutil (~> 0.9)
38
+ rouge (~> 3.0)
39
+ safe_yaml (~> 1.0)
40
+ terminal-table (~> 1.8)
41
+ jekyll-feed (0.15.0)
42
+ jekyll (>= 3.7, < 5.0)
43
+ jekyll-liquify (0.0.2)
44
+ liquid (>= 2.5, < 5.0)
45
+ redcarpet (~> 3.1)
46
+ jekyll-remote-theme (0.4.2)
47
+ addressable (~> 2.0)
48
+ jekyll (>= 3.5, < 5.0)
49
+ jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
50
+ rubyzip (>= 1.3.0, < 3.0)
51
+ jekyll-sass-converter (2.1.0)
52
+ sassc (> 2.0.1, < 3.0)
53
+ jekyll-seo-tag (2.6.1)
54
+ jekyll (>= 3.3, < 5.0)
55
+ jekyll-watch (2.2.1)
56
+ listen (~> 3.0)
57
+ kramdown (2.3.0)
58
+ rexml
59
+ kramdown-parser-gfm (1.1.0)
60
+ kramdown (~> 2.0)
61
+ liquid (4.0.3)
62
+ listen (3.8.0)
63
+ rb-fsevent (~> 0.10, >= 0.10.3)
64
+ rb-inotify (~> 0.9, >= 0.9.10)
65
+ mercenary (0.4.0)
66
+ minima (2.5.1)
67
+ jekyll (>= 3.5, < 5.0)
68
+ jekyll-feed (~> 0.9)
69
+ jekyll-seo-tag (~> 2.1)
70
+ pathutil (0.16.2)
71
+ forwardable-extended (~> 2.6)
72
+ public_suffix (4.0.6)
73
+ rb-fsevent (0.11.2)
74
+ rb-inotify (0.10.1)
75
+ ffi (~> 1.0)
76
+ redcarpet (3.6.0)
77
+ rexml (3.2.4)
78
+ rouge (3.23.0)
79
+ ruby-thumbor (3.0.0)
80
+ rubyzip (2.3.0)
81
+ safe_yaml (1.0.5)
82
+ sassc (2.4.0)
83
+ ffi (~> 1.9)
84
+ terminal-table (1.8.0)
85
+ unicode-display_width (~> 1.1, >= 1.1.1)
86
+ unicode-display_width (1.7.0)
87
+ webrick (1.8.1)
88
+ yaml (0.1.1)
89
+
90
+ PLATFORMS
91
+ ruby
92
+
93
+ DEPENDENCIES
94
+ jekyll (~> 4.1.1)
95
+ jekyll-feed (~> 0.12)
96
+ jekyll-liquify
97
+ jekyll-remote-theme
98
+ jekyll-thumbor!
99
+ minima (~> 2.5)
100
+ tzinfo (~> 1.2)
101
+ tzinfo-data
102
+ wdm (~> 0.1.1)
103
+ webrick (~> 1.8)
104
+
105
+ BUNDLED WITH
106
+ 2.1.4