ricalo / jekylldocker Goto Github PK
View Code? Open in Web Editor NEWJust my Dockerfile to author my GitHub Pages sites in a container
Home Page: https://code.ricalo.com/docker/github-pages/GitHub-Pages-Docker/
Just my Dockerfile to author my GitHub Pages sites in a container
Home Page: https://code.ricalo.com/docker/github-pages/GitHub-Pages-Docker/
See if we I can integrate LiveReload with Hawkins in the image.
At this moment, the default command executes the following:
jekyll liveserve --config _config.yml,_config_dev.yml
This assumes that the site has the following:
_config_dev.yml
fileThat might not be the case, and the container shouldn't force developers to include these dependencies.
HtmlProofer is taking too long on some sites. I could just serve the site and then start running the tests so developers don't have to wait to start working.
HtmlProofer fails with an HTTP error 999 when checking LinkedIn URLs.
* External link https://www.linkedin.com/in/... failed: 999 No error
HtmlProofer should ignore such errors.
Check the site with html-proofer before serving it.
I need to add the gem to the image at build time, so adding the following line to Dockerfile
RUN gem install html-proofer
The default command should do the following:
bundle install
jekyll build
htmlproofer ./_site
jekyll serve --config _config.yml,_config_dev.yml
So I need to add instructions to build the site and test with html-proofer.
The container runs HtmlProofer when started. However, if there are HTML errors, the container doesn't start.
This is not right.
We also should remove the --url-ignore "/feed.xml"
flag.
It should report the errors and start the container, if possible.
It doesn't look like a good design to have Jekyll and other gems installed at image build time. Instead, I should assume that developers specify their own dependencies in their Gemfiles.
This has been especially problematic with Jekyll plugins.
Can we attach our tests to the watch pipeline in jekyll serve?
Ignore SampleSite and other irrelevant files
I'm creating an image tag just to append --force_polling
to make the image work on Windows. Maybe I can get rid of that extra tag if I use an ENTRYPOINT instead of a CMD.
The script assumes that some Gems are already installed. We should make sure that those Gems are already installed at image build time with RUN statements in Dockerfile. So far we need:
Jekyll plugins should not (and can't) be installed at image build time.
This is in conflict with #10.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.