-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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