Skip to content

Commit

Permalink
Merge pull request #123 from MiniFate/docker-ruby-3
Browse files Browse the repository at this point in the history
Update dockerfile with explicit ruby, bundler versions
  • Loading branch information
agude committed Dec 29, 2023
2 parents cbd54c2 + 5fb2fcf commit 8cc5398
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 17 deletions.
11 changes: 2 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
FROM alpine:3.13
RUN apk add --update ruby
RUN apk add \
build-base \
ruby-dev \
libffi-dev \
ruby-etc \
zlib-dev
FROM ruby:2

RUN gem install bundler
RUN gem install bundler -v 2.4.22
ENV BUNDLE_GEMFILE=/tmp/Gemfile
COPY Gemfile $BUNDLE_GEMFILE
RUN bundle install -j 4
Expand Down
31 changes: 23 additions & 8 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,26 @@

<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
<main role="main">
{% include anchor_headings.html h_min=2 html=content anchorBody="<svg
class='anchor-link-img' viewBox='0 0 16 16' version='1.1' width='16' height='32' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>" %}
</main>
</body>
</html>
{% include head.html %}

<body>

<main role="main">

<div class="debug">
<p>Jekyll version: {{ site.github.versions.jekyll }}</p>
<p>Liquid version: {{ site.github.versions.liquid }}</p>
<p>Jekyll environment: {{ jekyll.environment }}</p>
</div>

{% include anchor_headings.html h_min=2 html=content anchorBody="<svg class='anchor-link-img' viewBox='0 0 16 16'
version='1.1' width='16' height='32' aria-hidden='true'>
<path fill-rule='evenodd'
d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'>
</path>
</svg>" %}
</main>

</body>

</html>
4 changes: 4 additions & 0 deletions assets/_sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ main {
padding: 0;
}

.debug {
border: 1px solid red;
}

h1, h2, h3, h4, h5, h6 {
font-family: $sans-font-family;
margin-top: 1.5em;
Expand Down

0 comments on commit 8cc5398

Please sign in to comment.