Skip to content

Commit eff8d91

Browse files
committed
Build with RUBY_DEBUG=1
Seems like a useful thing to do
1 parent 443cae0 commit eff8d91

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Dockerfile.template.patch

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/Dockerfile.template b/Dockerfile.template
2-
index 9f9a685..2a6530d 100644
2+
index 9f9a685..5134250 100644
33
--- a/Dockerfile.template
44
+++ b/Dockerfile.template
55
@@ -36,7 +36,8 @@ ENV RUBY_DOWNLOAD_SHA256 {{ .sha256.xz }}
@@ -50,3 +50,11 @@ index 9f9a685..2a6530d 100644
5050
echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; \
5151
patch -p1 -i thread-stack-fix.patch; \
5252
rm thread-stack-fix.patch; \
53+
@@ -203,6 +204,7 @@ RUN set -eux; \
54+
autoconf; \
55+
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
56+
./configure \
57+
+ cppflags="-DRUBY_DEBUG=1" \
58+
--build="$gnuArch" \
59+
--disable-install-doc \
60+
--enable-shared \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![Last successful build](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Fdocker-ruby-nightly%2Fruby%2Factions%2Fworkflows%2Fnightly.yml%2Fruns%3Fstatus%3Dsuccess%26event%3Dschedule&query=%24.workflow_runs%5B0%5D%5B'updated_at'%5D&logo=githubactions&label=Last%20successful%20build) ![Last build status](https://github.com/docker-ruby-nightly/ruby/actions/workflows/nightly.yml/badge.svg)
22

3-
Builds from https://github.com/docker-library/ruby for daily nightly images.
3+
Builds from https://github.com/docker-library/ruby for daily nightly images. Configured with `RUBY_DEBUG=1`.
44

55
The available variants will mirror the ones from the official images. The tags are structured in the following way:
66
* `alpine3.20-nightly-2024-05-27`

0 commit comments

Comments
 (0)