Skip to content

Commit d163568

Browse files
author
Ariel Rolfo
committed
add rpms
1 parent 0f59fe6 commit d163568

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ RUN set -eux; \
3131
libyaml libyaml-devel \
3232
libffi libffi-devel \
3333
ncurses ncurses-devel \
34+
readline readline-devel info \
3435
findutils diffutils procps-ng \
3536
ca-certificates \
3637
libpq libpq-devel \
@@ -48,8 +49,10 @@ RUN set -eux; \
4849
pkgconf-pkg-config \
4950
&& microdnf clean all
5051

51-
# Install local RPMs shipped in repo (EL10 builds)
52-
RUN if ls /tmp/rpms/*.rpm >/dev/null 2>&1; then rpm -Uvh --nosignature /tmp/rpms/*.rpm; fi
52+
# Install local RPMs only if they match EL10; skip incompatible EL8 artifacts
53+
RUN set -eux; \
54+
rpms=$(ls /tmp/rpms/*el10*.rpm 2>/dev/null || true); \
55+
if [ -n "$rpms" ]; then rpm -Uvh --nosignature $rpms; fi
5356

5457

5558
# Build and install Ruby from source (no RVM)
@@ -195,4 +198,4 @@ USER 1000
195198

196199
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
197200

198-
EXPOSE 9292
201+
EXPOSE 9292
-204 KB
Binary file not shown.
210 KB
Binary file not shown.

0 commit comments

Comments
 (0)