Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update the repo 'ol8_baseos_latest' #2

Open
MertalpTasdelen opened this issue Dec 5, 2023 · 1 comment
Open

Cannot update the repo 'ol8_baseos_latest' #2

MertalpTasdelen opened this issue Dec 5, 2023 · 1 comment

Comments

@MertalpTasdelen
Copy link

MertalpTasdelen commented Dec 5, 2023

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
Copy link
Owner

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants