Skip to content

Commit c3f5879

Browse files
committed
Revert to OL8 due to K8s
1 parent dc5afac commit c3f5879

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

opentofu/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Do Not Modify. Updated during release cycle.
55
locals {
66
app_version = "0.0.0"
7-
compute_os_ver = "9.6"
7+
compute_os_ver = "8.10"
88
k8s_version = "1.34.1"
99
}

src/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
# Build from the project root directory:
77
# podman build -f src/Dockerfile -t ai-optimizer-aio:latest .
88
##################################################
9-
FROM container-registry.oracle.com/os/oraclelinux:9 AS all_in_one_pyenv
9+
FROM container-registry.oracle.com/os/oraclelinux:8 AS all_in_one_pyenv
1010
ENV RUNUSER=oracleai \
1111
VIRTUAL_ENV=/opt/.venv
1212

1313
RUN groupadd -g 10001 $RUNUSER && \
1414
useradd -u 10001 -g $RUNUSER -md /app $RUNUSER && \
15-
dnf config-manager --add-repo https://yum.oracle.com/repo/OracleLinux/OL9/oracle/software/\$basearch && \
15+
dnf config-manager --add-repo https://yum.oracle.com/repo/OracleLinux/OL8/oracle/software/\$basearch && \
1616
dnf --nodocs -y install python3.11 python3.11-pip sqlcl java-21-openjdk-headless --nogpgcheck && \
1717
dnf clean all && \
1818
python3.11 -m venv --symlinks --upgrade-deps $VIRTUAL_ENV

src/client/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Build from the project root directory:
77
# podman build -f src/client/Dockerfile -t ai-optimizer-client:latest .
88
#############################################################
9-
FROM container-registry.oracle.com/os/oraclelinux:9 AS optimizer_base
9+
FROM container-registry.oracle.com/os/oraclelinux:8 AS optimizer_base
1010
ENV RUNUSER=oracleai \
1111
VIRTUAL_ENV=/opt/.venv
1212

src/server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
# podman build -f src/server/Dockerfile -t ai-optimizer-server:latest .
77
#############################################################
88
# spell-checker: disable
9-
FROM container-registry.oracle.com/os/oraclelinux:9 AS optimizer_base
9+
FROM container-registry.oracle.com/os/oraclelinux:8 AS optimizer_base
1010

1111
ENV RUNUSER=oracleai
1212
ENV RUNUSER=oracleai \
1313
VIRTUAL_ENV=/opt/.venv
1414

1515
RUN groupadd -g 10001 $RUNUSER && \
1616
useradd -u 10001 -g $RUNUSER -md /app $RUNUSER && \
17-
dnf config-manager --add-repo https://yum.oracle.com/repo/OracleLinux/OL9/oracle/software/\$basearch && \
17+
dnf config-manager --add-repo https://yum.oracle.com/repo/OracleLinux/OL8/oracle/software/\$basearch && \
1818
dnf --nodocs -y install python3.11 python3.11-pip && \
1919
dnf clean all && \
2020
python3.11 -m venv --symlinks --upgrade-deps $VIRTUAL_ENV

0 commit comments

Comments
 (0)