Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby: Fix Dockerfiles for Jekyll/Liquid images #293

Merged
merged 1 commit into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions ruby/docker_images/jekyll/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM ruby:3.3-alpine

RUN mkdir -p /usr/local/etc \
&& { \
Expand All @@ -7,18 +7,10 @@ RUN mkdir -p /usr/local/etc \
} >> /etc/gemrc

RUN apk update && apk add --no-cache \
ruby \
ruby-irb \
ruby-json \
ruby-bundler \
ruby-bigdecimal \
ruby-dev \
build-base \
libssl1.1 \
build-base \
libc6-compat

RUN gem install jekyll
RUN gem install ruby-debug-ide

RUN mkdir -p /srv/jekyll
WORKDIR /srv/jekyll
Expand Down
8 changes: 4 additions & 4 deletions ruby/docker_images/liquid/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ RUN apk update && apk add --no-cache \
ruby-json \
ruby-bundler \
ruby-bigdecimal \
ruby-dev \
build-base \
libssl1.1 \
libc6-compat
ruby-dev \
build-base \
libc6-compat \
linux-headers

RUN gem install liquid
RUN gem install ruby-debug-ide
Expand Down
Loading