Skip to content

Commit

Permalink
Import GPG key into rpm before installing software to ensure it is valid
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Dec 27, 2018
1 parent 79b1978 commit 4e44082
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cfg/php-startup-7.0/03-oracle-oci8-and-pdo_oci.sh-example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https://
curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

# Install RPMs
rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm
alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

Expand Down
1 change: 1 addition & 0 deletions cfg/php-startup-7.1/03-oracle-oci8-and-pdo_oci.sh-example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https://
curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

# Install RPMs
rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm
alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

Expand Down
1 change: 1 addition & 0 deletions cfg/php-startup-7.2/03-oracle-oci8-and-pdo_oci.sh-example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https://
curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

# Install RPMs
rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm
alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

Expand Down
1 change: 1 addition & 0 deletions cfg/php-startup-7.3/03-oracle-oci8-and-pdo_oci.sh-example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ curl -o /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm https://
curl -o /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

# Install RPMs
rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7
alien -i /tmp/oracle-instantclient18.3-basiclite-18.3.0.0.0-2.x86_64.rpm
alien -i /tmp/oracle-instantclient18.3-devel-18.3.0.0.0-2.x86_64.rpm

Expand Down

0 comments on commit 4e44082

Please sign in to comment.