mirror of
https://github.com/upa/mscp.git
synced 2026-03-12 11:07:42 +08:00
import rpm pgp key before yum install in Alama
See https://cloudlinux.zendesk.com/hc/en-us/articles/12225072530204-yum-update-error-Error-GPG-check-FAILED
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
FROM almalinux:8.8
|
FROM almalinux:8.8
|
||||||
|
|
||||||
# install pytest, sshd for test, and rpm-build
|
# install pytest, sshd for test, and rpm-build
|
||||||
RUN set -ex && yum -y install \
|
RUN set -ex && \
|
||||||
|
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && \
|
||||||
|
yum -y install \
|
||||||
python3 python3-pip python3-devel openssh openssh-server openssh-clients rpm-build
|
python3 python3-pip python3-devel openssh openssh-server openssh-clients rpm-build
|
||||||
|
|
||||||
RUN python3 -m pip install pytest
|
RUN python3 -m pip install pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user