This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 7f9a2c0fbc Update RELEASE.md with improved container instructions
7f9a2c0fbc is described below

commit 7f9a2c0fbc8bc27e23a53d39514bc648f54133e7
Author: James Fredley <[email protected]>
AuthorDate: Wed Oct 29 20:05:15 2025 -0400

    Update RELEASE.md with improved container instructions
    
    Added platform-specific Docker commands for macOS/Linux and Windows to the 
verification section. Updated reference to the appendix with a markdown link 
for better navigation.
---
 RELEASE.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/RELEASE.md b/RELEASE.md
index 5fbc109958..21137ed77e 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -83,7 +83,7 @@ For Example:
 Please note that this script will perform steps that will require rebuilding 
the project & comparing the built artifacts
 to the staged artifacts. Due to OS differences, this can result in 
reproducibility issues. For this reason, it's advised
 to run these scripts from an environment similar to the GitHub actions 
environment. See the section
-`Appendix: Verification from a Container` for how to launch a container that 
closely resembles the GitHub actions
+[Appendix: Verification from a 
Container](RELEASE.md#appendix-verification-from-a-container) for how to launch 
a container that closely resembles the GitHub actions
 environment.
 
 If manual verification is desired, the steps below can be followed.
@@ -385,12 +385,20 @@ Setup the key for validity:
 The Grails image is officially built on linux in a GitHub action using an 
Ubuntu container. To run a linux container
 locally, you can use the following command (substitute `<git-tag-of-release` 
with the tag name):
 
+**macOS/Linux**
 ```bash
     docker build -t grails:testing -f etc/bin/Dockerfile . && docker run -it 
--rm -v $(pwd):/home/groovy/project -p 8080:8080 grails:testing bash
     cd grails-verify
     verify.sh <git-tag-of-release> .
 ```
 
+**Windows**
+```bash
+    docker build -t grails:testing -f etc/bin/Dockerfile . && docker run -it 
--rm -v "%CD%:/home/groovy/project" -p 8080:8080 grails:testing bash
+    cd grails-verify
+    verify.sh <git-tag-of-release> .
+```
+
 Please note that the argument `-p 8080:8080` is used to expose the port 8080 
of the container to the host machine's port 8080 
(fromContainerPort:toHostPort). This allows you to access any running Grails 
application in the container from your host. If you have another application on 
port 8080, you can change the port mapping to avoid conflicts, e.g., `-p 
8080:8081`. 
 
 In the event that artifacts differ, simply copy them to your project directory 
and work on your local machine instead of the docker image: 

Reply via email to