From 97c3bc6fe3e7d51d9bdceef0326d61afde50a7dc Mon Sep 17 00:00:00 2001 From: Andrew Schleifer Date: Mon, 3 Aug 2026 13:53:15 -0400 Subject: [PATCH] Remove specific versions from documentation Replace with placeholders --- Dockerfile | 4 +--- README.md | 8 ++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c032dd8..41598bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ -# Build: -# docker build -t discourse/ruby:3.3-bookworm-slim --build-arg DEBIAN_RELEASE=bookworm --build-arg RUBY_VERSION=3.3.3 . -# # You are not expected to build and push this Docker image by hand. This is done by the `build` Github Actions workflow. +# ARG DEBIAN_RELEASE= ARG RUBY_VERSION= diff --git a/README.md b/README.md index 93a73bf..ce013f5 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,14 @@ docker pull discourse/ruby:--slim Replace `` and `` with the desired versions. See https://hub.docker.com/r/discourse/ruby/tags for available tags. +## Building + +New versions are created by the Github action. You should use those. If you need to build a custom image for some unforeseen reason, the command would look like: + +```sh +docker build -t discourse/ruby:--slim --build-arg DEBIAN_RELEASE= --build-arg RUBY_VERSION= . +``` + ## License This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.