Skip to content

Commit ce47593

Browse files
rwstaunerhsbt
authored andcommitted
Add "ruby -v" as a build step to verify successful image build
1 parent 7f63973 commit ce47593

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ COPY --from=build \
157157
/usr/local/share/man/man1/*.* \
158158
/usr/local/share/man/man1/
159159

160+
# Verify that the built/copied ruby can at least run (has necessary OS dependencies, etc).
161+
RUN /usr/local/bin/ruby -v
160162

161163
### development ###
162164
FROM ruby AS development

0 commit comments

Comments
 (0)