Not how our output folder has grown a bit : Enable with -incrementalĪuto-regeneration: disabled.
Installing ffi 1.9.23 with native extensionsīundle complete! 4 Gemfile dependencies, 24 gems now installed.īundled gems are installed into /usr/local/bundle.Ĭonfiguration file: /srv/jekyll/_config.yml
Install missing gems with `bundle install` These files are primarily configuration files and a sample post.ĭocker run -rm -volume="$PWD:/srv/jekyll" -it jekyll/jekyll:$JEKYLL_VERSION jekyll build A new site was created in the current folder by the containerīecause the volume was mounted on our host, the generated files end up on the host as well.Īt this point you have a very minimalistic set of files.We’ve mounted the current folder as /srv/jekyll in the container.We’ve started a docker jekyll container.New jekyll site installed in /srv/jekyll. īundler: Installing ffi 1.9.23 with native extensionsīundler: Using forwardable-extended 2.6.0īundler: Fetching jekyll-sass-converter 1.5.2īundler: Installing jekyll-sass-converter 1.5.2īundler: Bundle complete ! 4 Gemfile dependencies, 24 gems now installed.īundler: Bundled gems are installed into /usr/local/bundle. īundler: Fetching dependency metadata from. To add those platforms to the bundle, run `bundle lock -add-platform x86-mingw32 x86-mswin32 圆4-mingw32 java `. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, 圆4-mingw32, java. In the following github project, you can find a containerized version of jekyll where all of these dependencies are available in the container.Īs such, in order to get started, the only thing you need to do is this:īundler: The dependency tzinfo-data (>= 0 ) will be unused by any of the platforms Bundler is installing for. However, as stated before, in order to run the jekyll executable on your environment, you’ll need to have a lot of dependencies in place. jekyll serve (to run an http server on your local environment).jekyll build (to process the folder structure, and generate an html site).jekyll new my-blog (to create a new folder structure).In order to process that folder, you need to have the jekyll executable and all of its dependencies. The folder is typically stored in version control, and a build pipeline takes care of processing that folder and publishing a new site. It processes a folder containing different items like posts, drafts, layouts and converts it into a fully fledged static html site that you can publish. Jekyll is a static site generator, typically used for blogs.
If you’re not familiar with these tools (ruby, gem, bundle, ….) then getting up and running can be time consuming and cumbersome.ĭepending on your OS, you might already have an existing version of Ruby, and you might need to upgrade or install other packages, potentially risking the sanity of other applications depending on those runtimes.Įnter Docker, the container technology that can help us encapsulate the jekyll specifics and its dependencies by keeping them contained.
Jekyll is a blog-aware, static site generator in Ruby and in order to install it you need to ensure that you have the Jekyll is a great platform for publishing content, but it can be quite difficult to get up and running on a local environment due to its dependencies.