Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Improve dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed May 8, 2024
1 parent fff6717 commit 7568dd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
11 changes: 1 addition & 10 deletions jruby.docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,9 @@

ARG REGISTRY="docker.io"

## BASE ########################################################################

FROM ${REGISTRY}/essentialkaos/oraclelinux:8 as installer_base

RUN dnf -y -q install https://yum.kaos.st/kaos-repo-latest.el8.noarch.rpm && \
dnf -y -q install rbenv rbinstall jre11 && \
dnf -y -q module disable "*" && \
dnf clean all && rm -rf /var/cache/dnf /var/log/dnf.*

## INSTALLER ###################################################################

FROM installer_base as installer
FROM ${REGISTRY}/essentialkaos/rbinstall:ol8 as installer

ARG RUBY_VERSION=9.3.9.0

Expand Down
11 changes: 1 addition & 10 deletions ruby-jemalloc.docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,9 @@

ARG REGISTRY="docker.io"

## BASE ########################################################################

FROM ${REGISTRY}/essentialkaos/oraclelinux:8 as installer_base

RUN dnf -y -q install https://yum.kaos.st/kaos-repo-latest.el8.noarch.rpm && \
dnf -y -q install rbenv rbinstall libyaml jemalloc && \
dnf -y -q module disable "*" && \
dnf clean all && rm -rf /var/cache/dnf /var/log/dnf.*

## INSTALLER ###################################################################

FROM installer_base as installer
FROM ${REGISTRY}/essentialkaos/rbinstall:ol8 as installer

ARG RUBY_VERSION=3.2.0
ARG WITH_STATIC=no
Expand Down
11 changes: 1 addition & 10 deletions ruby.docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,9 @@

ARG REGISTRY="docker.io"

## BASE ########################################################################

FROM ${REGISTRY}/essentialkaos/oraclelinux:8 as installer_base

RUN dnf -y -q install https://yum.kaos.st/kaos-repo-latest.el8.noarch.rpm && \
dnf -y -q install rbenv rbinstall libyaml && \
dnf -y -q module disable "*" && \
dnf clean all && rm -rf /var/cache/dnf /var/log/dnf.*

## INSTALLER ###################################################################

FROM installer_base as installer
FROM ${REGISTRY}/essentialkaos/rbinstall:ol8 as installer

ARG RUBY_VERSION=3.2.0
ARG WITH_STATIC=no
Expand Down

0 comments on commit 7568dd9

Please sign in to comment.