Skip to content

Kjuly/docker-ruby-alpine-build-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ruby-alpine-build-base

Alpine-based Ruby Docker image with build-base installed.

Usage

e.g., You can replace

FROM ruby:3.3.1-alpine
...
RUN apk add --no-cache build-base && \
    bundle install --no-cache && \
    ...
    apk del --purge -r build-base

with

FROM kjuly/ruby-alpine-build-base:latest
...
RUN bundle install --no-cache && \
    ...
    apk del --purge -r build-base

to save time on pkg build-base installation during your Docker image testing, especially when your local network is not good enough.