oraclesean / cloud-native-oracle

A repository of container image builds for Oracle databases, with support for Intel, Apple Silicon, and ARM processors.
29 stars 4 forks source link

Cannot update the repo 'ol8_baseos_latest' #2

Open MertalpTasdelen opened 8 months ago

MertalpTasdelen commented 8 months ago

Hi thank you for the repo I am trying to use colima but saw this one tried to create image but it fails. I am fairly new about these and here My error and full output of the build scritp.

=> ERROR [3/3] RUN chmod ug+x /opt/scripts/manageOracle.sh && /opt/scripts/manageOracle.sh -e && rm -fr /tmp/* /var/cache/yum 4.3s

[3/3] RUN chmod ug+x /opt/scripts/manageOracle.sh && /opt/scripts/manageOracle.sh -e && rm -fr /tmp/* /var/cache/yum: 3.053 Downloading metadata... 4.107 error: cannot update repo 'ol8_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/repodata/repomd.xml [SSL certificate problem: self signed certificate in certificate chain]

Dockerfile.oraclelinux.202312060159.2roP:40

39 | # Build base image: 40 | >>> RUN chmod ug+x $SCRIPTS_DIR/$MANAGE_ORACLE && \ 41 | >>> $DEBUG $SCRIPTS_DIR/$MANAGE_ORACLE -e && \ 42 | >>> rm -fr /tmp/* /var/cache/yum 43 |

ERROR: failed to solve: process "/bin/sh -c chmod ug+x $SCRIPTS_DIR/$MANAGE_ORACLE && $DEBUG $SCRIPTS_DIR/$MANAGE_ORACLE -e && rm -fr /tmp/* /var/cache/yum" did not complete successfully: exit code: 1 [+] Building 2.7s (5/5) FINISHED docker:colima => [internal] load build definition from Dockerfile.db.202312060159.shoV

Dockerfile.db.202312060159.shoV:2

1 | # syntax=docker/dockerfile:1.4 2 | >>> FROM as db 3 | 4 | # Database defaults

ERROR: failed to solve: dockerfile parse error on line 2: FROM requires either one or three arguments

oraclesean commented 8 months ago

@MertalpTasdelen I'm fairly certain this is a matter of some prerequisite packages being unavailable for Apple Silicon. Despite running Colima, I think something's still looking for the AARM64 package. I'm traveling right now, but I'll look at this on my return home mid-month. Thanks for spotting this and for your patience!