mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-19 11:51:56 +08:00
This mod adds rbenv to code-server, to be installed/updated during container start. rbenv is a version manager tool for the Ruby programming language on Unix-like systems. It is useful for switching between multiple Ruby versions on the same machine and for ensuring that each project you are working on always runs on the correct Ruby version. This mod includes adding shell completions for rbenv in bash and zsh. Includes ruby-build, which allows you to run the rbenv install command. If it's already installed, make sure to upgrade it by pulling the latest changes from the git repo Adds the required packages of the build environment Need these pre-requisites in order to install ruby in rbenv Set permissions for ~/.rbenv It needs to be able to write into that directory when installing new versions of Ruby
9 lines
107 B
Docker
9 lines
107 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM scratch
|
|
|
|
LABEL maintainer="somewatson"
|
|
|
|
# copy local files
|
|
COPY root/ /
|