Skip to content

Commit 69e2138

Browse files
studioromeo-at-boxukstudioromeo
authored andcommitted
Adds docker local dev
don't use ruby much so makes sense to have it in a container
1 parent e5dda89 commit 69e2138

3 files changed

Lines changed: 51 additions & 29 deletions

File tree

Gemfile.lock

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
Ascii85 (2.0.1)
5-
activesupport (7.2.1)
5+
activesupport (8.0.2)
66
base64
7+
benchmark (>= 0.3)
78
bigdecimal
89
concurrent-ruby (~> 1.0, >= 1.3.1)
910
connection_pool (>= 2.2.5)
@@ -13,31 +14,35 @@ GEM
1314
minitest (>= 5.1)
1415
securerandom (>= 0.3)
1516
tzinfo (~> 2.0, >= 2.0.5)
17+
uri (>= 0.13.1)
1618
addressable (2.8.7)
1719
public_suffix (>= 2.0.2, < 7.0)
1820
afm (0.2.2)
19-
async (2.23.0)
21+
async (2.23.1)
2022
console (~> 1.29)
2123
fiber-annotation
2224
io-event (~> 1.9)
2325
metrics (~> 0.12)
2426
traces (~> 0.15)
2527
base64 (0.2.0)
28+
benchmark (0.4.0)
2629
bigdecimal (3.1.9)
2730
coffee-script (2.4.1)
2831
coffee-script-source
2932
execjs
3033
coffee-script-source (1.12.2)
3134
colorator (1.1.0)
32-
commonmarker (0.23.10)
33-
concurrent-ruby (1.3.4)
34-
connection_pool (2.4.1)
35-
console (1.29.3)
35+
commonmarker (0.23.11)
36+
concurrent-ruby (1.3.5)
37+
connection_pool (2.5.0)
38+
console (1.30.2)
3639
fiber-annotation
3740
fiber-local (~> 1.1)
3841
json
39-
csv (3.3.0)
40-
dnsruby (1.72.2)
42+
csv (3.3.3)
43+
dnsruby (1.72.4)
44+
base64 (~> 0.2.0)
45+
logger (~> 1.6.5)
4146
simpleidn (~> 0.2.1)
4247
drb (2.2.1)
4348
em-websocket (0.5.3)
@@ -46,13 +51,14 @@ GEM
4651
ethon (0.16.0)
4752
ffi (>= 1.15.0)
4853
eventmachine (1.2.7)
49-
execjs (2.9.1)
50-
faraday (2.11.0)
51-
faraday-net_http (>= 2.0, < 3.4)
54+
execjs (2.10.0)
55+
faraday (2.12.2)
56+
faraday-net_http (>= 2.0, < 3.5)
57+
json
5258
logger
53-
faraday-net_http (3.3.0)
54-
net-http
55-
ffi (1.17.1)
59+
faraday-net_http (3.4.0)
60+
net-http (>= 0.5.0)
61+
ffi (1.17.1-aarch64-linux-musl)
5662
fiber-annotation (0.2.0)
5763
fiber-local (1.1.0)
5864
fiber-storage
@@ -125,9 +131,9 @@ GEM
125131
yell (~> 2.0)
126132
zeitwerk (~> 2.5)
127133
http_parser.rb (0.8.0)
128-
i18n (1.14.5)
134+
i18n (1.14.7)
129135
concurrent-ruby (~> 1.0)
130-
io-event (1.9.0)
136+
io-event (1.10.0)
131137
jekyll (3.10.0)
132138
addressable (~> 2.4)
133139
colorator (~> 1.0)
@@ -247,19 +253,17 @@ GEM
247253
listen (3.9.0)
248254
rb-fsevent (~> 0.10, >= 0.10.3)
249255
rb-inotify (~> 0.9, >= 0.9.10)
250-
logger (1.6.0)
256+
logger (1.6.6)
251257
mercenary (0.3.6)
252-
metrics (0.12.1)
253-
mini_portile2 (2.8.8)
258+
metrics (0.12.2)
254259
minima (2.5.1)
255260
jekyll (>= 3.5, < 5.0)
256261
jekyll-feed (~> 0.9)
257262
jekyll-seo-tag (~> 2.1)
258-
minitest (5.25.1)
259-
net-http (0.4.1)
263+
minitest (5.25.5)
264+
net-http (0.6.0)
260265
uri
261-
nokogiri (1.18.4)
262-
mini_portile2 (~> 2.8.2)
266+
nokogiri (1.18.7-aarch64-linux-musl)
263267
racc (~> 1.4)
264268
octokit (4.25.1)
265269
faraday (>= 1, < 3)
@@ -279,10 +283,10 @@ GEM
279283
rb-fsevent (0.11.2)
280284
rb-inotify (0.11.1)
281285
ffi (~> 1.0)
282-
rexml (3.3.9)
286+
rexml (3.4.1)
283287
rouge (3.30.0)
284288
ruby-rc4 (0.1.5)
285-
rubyzip (2.3.2)
289+
rubyzip (2.4.1)
286290
safe_yaml (1.0.5)
287291
sass (3.7.4)
288292
sass-listen (~> 4.0.0)
@@ -294,7 +298,7 @@ GEM
294298
faraday (>= 0.17.3, < 3)
295299
scss_lint (0.60.0)
296300
sass (~> 3.5, >= 3.5.5)
297-
securerandom (0.3.1)
301+
securerandom (0.4.1)
298302
simpleidn (0.2.3)
299303
terminal-table (1.8.0)
300304
unicode-display_width (~> 1.1, >= 1.1.1)
@@ -306,13 +310,13 @@ GEM
306310
tzinfo (2.0.6)
307311
concurrent-ruby (~> 1.0)
308312
unicode-display_width (1.8.0)
309-
uri (0.13.2)
313+
uri (1.0.3)
310314
webrick (1.9.1)
311315
yell (2.2.2)
312316
zeitwerk (2.7.2)
313317

314318
PLATFORMS
315-
ruby
319+
aarch64-linux-musl
316320

317321
DEPENDENCIES
318322
github-pages
@@ -322,4 +326,4 @@ DEPENDENCIES
322326
webrick (~> 1.9)
323327

324328
BUNDLED WITH
325-
2.2.22
329+
2.6.2

compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
services:
2+
jekyll:
3+
build: .
4+
volumes:
5+
- .:/usr/src/app
6+
ports:
7+
- "4000:4000"

dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ruby:3.4-alpine
2+
3+
RUN apk add --no-cache build-base
4+
5+
WORKDIR /usr/src/app
6+
7+
COPY Gemfile* .
8+
9+
RUN bundle install
10+
11+
CMD [ "bundle", "exec", "jekyll", "serve", "-H", "0.0.0.0", "-P", "4000" ]

0 commit comments

Comments
 (0)