Coder Social home page Coder Social logo

devcontainers-ruby's Introduction

Ruby

Summary

Develop Ruby based applications. includes everything you need to get up and running.

Metadata Value
Categories Core, Languages
Image type Dockerfile
Published images mcr.microsoft.com/devcontainers/ruby
Available image variants 3 / 3-bookworm, 3.3 / 3.3-bookworm, 3.2 / 3.2-bookworm, 3.1 / 3.1-bookworm, 3.0 / 3.0-bullseye, 3-bullseye, 3.3-bullseye, 3.2-bullseye, 3.1-bullseye, 3-buster, 3.2-buster, 3.1-buster, 3.0-buster (full list)
Published image architecture(s) x86-64, arm64/aarch64 for bookworm , and bullseye variants
Container host OS support Linux, macOS, Windows
Container OS Debian
Languages, platforms Ruby

See history for information on the contents of published images.

Using this image

You can directly reference pre-built versions of Dockerfile by using the image property in .devcontainer/devcontainer.json or updating the FROM statement in your own Dockerfile to one of the following. An example Dockerfile is included in this repository.

  • mcr.microsoft.com/devcontainers/ruby (latest)
  • mcr.microsoft.com/devcontainers/ruby:3 (or 3-bookworm, 3-bullseye, 3-buster to pin to an OS version)
  • mcr.microsoft.com/devcontainers/ruby:3.3 (or 3.3-bookworm, 3.3-bullseye to pin to an OS version)
  • mcr.microsoft.com/devcontainers/ruby:3.2 (or 3.2-bookworm, 3.2-bullseye, 3.2-buster to pin to an OS version)
  • mcr.microsoft.com/devcontainers/ruby:3.1 (or 3.1-bookworm, 3.1-bullseye, 3.1-buster to pin to an OS version)
  • mcr.microsoft.com/devcontainers/ruby:3.0 (or 3.0-bullseye, 3.0-buster to pin to an OS version)

Refer to this guide for more details.

You can decide how often you want updates by referencing a semantic version of each image. For example:

  • mcr.microsoft.com/devcontainers/ruby:1-3 (or 1-3-bookworm, 1-3-bullseye, 1-3-buster to pin to an OS version)
  • mcr.microsoft.com/devcontainers/ruby:1.0-3 (or 1.0-3-bookworm, 1.0-3-bullseye, 1.0-3-buster to pin to an OS version)
  • mcr.microsoft.com/devcontainers/ruby:1.0.0-3 (or 1.0.0-3-bookworm, 1.0.0-3-bullseye, 1.0.0-3-buster to pin to an OS version)

However, we only do security patching on the latest non-breaking, in support versions of images (e.g. 1-3.2). You may want to run apt-get update && apt-get upgrade in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.

See history for information on the contents of each version and here for a complete list of available tags.

Alternatively, you can use the contents of .devcontainer to fully customize your container's contents or to build it for a container host architecture not supported by the image.

Installing Node.js

Given JavaScript front-end web client code written for use in conjunction with a Ruby back-end often requires the use of Node.js-based utilities to build, this container also includes nvm so that you can easily install Node.js. You can change the version of Node.js installed or disable its installation by updating the args property in .devcontainer/devcontainer.json.

"args": {
    "VARIANT": "2",
    "NODE_VERSION": "14" // Set to "none" to skip Node.js installation
}

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License. See LICENSE.

devcontainers-ruby's People

Contributors

imtoanle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.