Skip to content

Commit c1a391c

Browse files
committed
Added fix for developer release
1 parent 5c9f6e2 commit c1a391c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

OracleDatabase/SingleInstance/dockerfiles/23.26.0/Containerfile.free

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
#
1919
# Pull base image
2020
# ---------------
21-
FROM oraclelinux:9 as base
21+
ARG BASE_IMAGE=oraclelinux:9
22+
# hadolint ignore=DL3006
23+
FROM ${BASE_IMAGE} as base
2224

2325
# Labels
2426
# ------

OracleDatabase/SingleInstance/dockerfiles/23.26.0/setupLinuxEnv.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ ln -s "$ORACLE_BASE"/scripts /docker-entrypoint-initdb.d && \
2929
mkdir -p "$ORACLE_BASE"/oradata /home/oracle && \
3030
mkdir -p "$ORACLE_HOME" && \
3131
chmod ug+x "$ORACLE_BASE"/*.sh && \
32-
dnf install -y oraclelinux-developer-release-el9 && \
32+
if [ "$(arch)" == "aarch64" ] || [ "$(arch)" == "arm64" ]; then
33+
dnf install -y oraclelinux-developer-release-el8
34+
else
35+
dnf install -y oraclelinux-developer-release-el9
36+
fi && \
3337
dnf -y install oracle-database-preinstall-23ai openssl hostname file expect && \
3438
rm -rf /var/cache/yum && \
3539
ln -s "$ORACLE_BASE"/"$PWD_FILE" /home/oracle/ && \

0 commit comments

Comments
 (0)