ysdragon/ring

By ysdragon

Updated about 10 hours ago

Docker images for Ring language - full and light variants with multi-arch support.

Image
Languages & frameworks
Developer tools
2

10K+

ysdragon/ring repository overview

Ring Programming Language Docker Images

Docker images for the Ring programming language - a practical general-purpose multi-paradigm language.

Quick Start

# Run a Ring script
docker run --rm -v $(pwd):/app -e RING_FILE=myapp.ring ysdragon/ring:latest

# Use the light version for minimal footprint
docker run --rm -v $(pwd):/app -e RING_FILE=myapp.ring ysdragon/ring:light

# Install packages and run
docker run --rm -v $(pwd):/app -e RING_PACKAGES="jsonlib" -e RING_FILE=myapp.ring ysdragon/ring:latest

Available Tags

  • latest, full - Complete Ring environment with all libraries and GUI support
  • light - Minimal Ring environment for CLI apps and web development

Supported Architectures

  • Full image: linux/amd64, linux/arm64
  • Light image: linux/amd64, linux/arm64, linux/riscv64

Image Variants

ysdragon/ring:latest / ysdragon/ring:full

The full-featured image includes:

  • Complete Ring language installation
  • All available Ring libraries and extensions
  • GUI libraries (Qt, libui, etc.)
  • Perfect for desktop applications and comprehensive development
ysdragon/ring:light

The lightweight image includes:

  • Core Ring language
  • Essential extensions: HTTP, MySQL, PostgreSQL, SQLite, CURL, OpenSSL
  • Web development libraries
  • Command-line tools
  • Ideal for web apps, APIs, and scripting

Environment Variables

VariableDescriptionDefault
RING_FILERequired - Path to Ring script to execute
RING_VERSIONRing language version to use1.27
RING_PACKAGESSpace-separated list of packages to install
RING_OUTPUT_EXESet to true to compile to executablefalse
RING_ARGSAdditional arguments for Ring compiler/VM

Common Usage Examples

Run a simple Ring script
docker run --rm -v $(pwd):/app -e RING_FILE=hello.ring ysdragon/ring:latest
Web development with packages
docker run --rm -v $(pwd):/app -e RING_PACKAGES="weblib jsonlib" -e RING_FILE=webapp.ring ysdragon/ring:light
Create a standalone executable
docker run --rm -v $(pwd):/app -e RING_FILE=myapp.ring -e RING_OUTPUT_EXE=true ysdragon/ring:latest
Use specific Ring version
docker run --rm -v $(pwd):/app -e RING_VERSION=1.22 -e RING_FILE=legacy.ring ysdragon/ring:latest

What is Ring?

Ring is a practical general-purpose multi-paradigm language that can be used for:

  • Desktop applications (using Qt, libui, etc.)
  • Web development
  • Mobile development
  • Games and graphics

Ring combines simplicity with powerful features, making it suitable for both beginners and experienced developers.

License

MIT License - see the LICENSE file for details.

Tag summary

Content type

Image

Digest

sha256:784c4a49a

Size

1.1 GB

Last updated

about 10 hours ago

docker pull ysdragon/ring:nightly-full