Skip to content

Commit fc98fdf

Browse files
authored
Merge pull request #2 from 3scale/update-for-2.16-rhel9
Update the steps for a rhel9-based system image
2 parents c33fc76 + 46afd83 commit fc98fdf

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.idea
1+
.idea
2+
oracle-client-files/*.zip

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM registry.redhat.io/3scale-amp2/system-rhel8:3scale2.15
2-
1+
FROM registry.redhat.io/3scale-amp2/system-rhel9:3scale2.16.1
32
USER root
43

54
COPY ./oracle-client-files/instantclient-basic*-linux.*.zip \
@@ -13,9 +12,8 @@ ENV LD_LIBRARY_PATH=/opt/oracle/instantclient/ \
1312
TZ=utc \
1413
NLS_LANG=AMERICAN_AMERICA.UTF8
1514

16-
RUN dnf install wget unzip make ruby-devel gcc gcc-c++ redhat-rpm-config libaio -y \
15+
RUN dnf install wget unzip make ruby-devel gcc gcc-c++ redhat-rpm-config libaio libnsl -y \
1716
&& ./script/oracle/install-instantclient-packages.sh \
18-
&& ln -s /usr/lib64/libnsl.so.2 /usr/lib64/libnsl.so.1 \
19-
&& DB=oracle bundle install --jobs $(grep -c processor /proc/cpuinfo) --retry=5
17+
&& bundle install --local --jobs $(grep -c processor /proc/cpuinfo) --retry=5
2018

2119
USER 1001

0 commit comments

Comments
 (0)