-
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
Zhigang Song
committed
Feb 27, 2024
1 parent
dfa5d68
commit d09e455
Showing
9 changed files
with
129 additions
and
59 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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
FROM ubuntu:latest | ||
FROM ruby:3.1-slim-bullseye as jekyll | ||
RUN apt-get update -q \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qy build-essential ruby ruby-dev graphviz git \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qy build-essential ruby ruby-dev graphviz git python3-notebook jupyter-nbconvert \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt | ||
|
||
RUN gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ \ | ||
&& gem install jekyll \ | ||
&& gem update --system | ||
&& gem install jekyll \ | ||
&& gem update --system | ||
|
||
WORKDIR /blog | ||
ENTRYPOINT ["/bin/bash", "bootstrap.sh"] | ||
# ENTRYPOINT ["bin/bash"] |
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
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 |
---|---|---|
|
@@ -222,4 +222,4 @@ plugins: | |
- jekyll-paginate | ||
- jekyll-sitemap | ||
- jemoji | ||
# - jekyll-jupyter-notebook | ||
- jekyll-jupyter-notebook |
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
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
#!/bin/bash | ||
|
||
gem install bundler:2.3.10 | ||
gem install bundler:2.5.6 | ||
bundler --version | ||
gem install rexml -v 3.2.5 | ||
gem install jekyll-jupyter-notebook | ||
bundle install | ||
|
||
jekyll build | ||
jekyll build --trace | ||
# jekyll serve -H 0.0.0.0 | ||
|
||
|