forked from scala/scala3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Quentin Bernet
committed
Feb 6, 2023
1 parent
34b836b
commit 074b3b8
Showing
6 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ruby:2.7 | ||
|
||
RUN apt-get install -y curl \ | ||
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \ | ||
&& apt-get install -y nodejs \ | ||
&& curl -L https://www.npmjs.com/install.sh | sh | ||
|
||
RUN gem install bundler:1.17.2 jekyll | ||
|
||
WORKDIR /srv/jekyll | ||
|
||
COPY Gemfile . | ||
COPY Gemfile.lock . | ||
|
||
|
||
RUN echo -n "bundle version: " && bundle --version | ||
RUN bundle install | ||
RUN mkdir /opt/npm-global | ||
RUN npm config set prefix '/opt/npm-global' | ||
RUN npm config set global true | ||
RUN npm install bower | ||
RUN echo -n "npm version: " && npm --version | ||
RUN chmod u+s /bin/chown | ||
RUN date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# To build the spec on Travis CI | ||
source "https://rubygems.org" | ||
|
||
gem "jekyll", "3.6.3" | ||
gem "webrick" | ||
gem "rouge" | ||
# gem 's3_website' | ||
gem "redcarpet", "3.5.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.8.1) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
colorator (1.1.0) | ||
ffi (1.15.5) | ||
forwardable-extended (2.6.0) | ||
jekyll (3.6.3) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.14) | ||
liquid (~> 4.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (>= 1.7, < 3) | ||
safe_yaml (~> 1.0) | ||
jekyll-sass-converter (1.5.2) | ||
sass (~> 3.4) | ||
jekyll-watch (1.5.1) | ||
listen (~> 3.0) | ||
kramdown (1.17.0) | ||
liquid (4.0.3) | ||
listen (3.7.1) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
mercenary (0.3.6) | ||
pathutil (0.16.2) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (5.0.0) | ||
rb-fsevent (0.11.2) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
redcarpet (3.5.1) | ||
rouge (2.2.1) | ||
safe_yaml (1.0.5) | ||
sass (3.7.4) | ||
sass-listen (~> 4.0.0) | ||
sass-listen (4.0.0) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
webrick (1.7.0) | ||
|
||
PLATFORMS | ||
ruby | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
jekyll (= 3.6.3) | ||
redcarpet (= 3.5.1) | ||
rouge | ||
webrick | ||
|
||
BUNDLED WITH | ||
2.3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '2' | ||
|
||
services: | ||
jekyll: | ||
user: "${UID}:${GID}" | ||
build: . | ||
command: sh -c "chown $UID / && bundle exec jekyll serve --incremental --host=0.0.0.0 " | ||
ports: | ||
- '4000:4000' | ||
volumes: | ||
- .:/srv/jekyll |