-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional guidance on the PR process; Notes on using Docker to build…
… a testing container (#200) * Pull request steps and Docker build steps. Added details describing pull request steps, and how to build a Jekyll environment using Docker. See issue 197 - More detailed guidance on how to build the Javalin documentation web site. * Added note about PR change previews.
- Loading branch information
1 parent
46b506d
commit ddbe0cc
Showing
4 changed files
with
106 additions
and
3 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
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,20 @@ | ||
# | ||
# An updated version of https://github.com/peteretelej/jekyll-container | ||
# | ||
FROM ruby:2.7.7-bullseye | ||
|
||
RUN apt-get update && \ | ||
gem install bundler -v 2.4.3 && \ | ||
mkdir -p /etc/jekyll && \ | ||
printf 'source "https://rubygems.org"\ngem "github-pages", "227"' > /etc/jekyll/Gemfile && \ | ||
bundle install --gemfile /etc/jekyll/Gemfile && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
ENV BUNDLE_GEMFILE /etc/jekyll/Gemfile | ||
|
||
EXPOSE 4000 | ||
|
||
ENTRYPOINT ["bundle", "exec"] | ||
|
||
CMD ["jekyll", "serve", "--host=0.0.0.0", "--future", "--incremental"] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.