install docker

This commit is contained in:
qiaofeng1227 2025-01-13 08:28:15 +08:00
parent 7fae912b50
commit 960e586bc0
3 changed files with 3 additions and 21 deletions

View File

@ -1,6 +1,6 @@
# This file can running at actions
# MEDIA_VERSION and LIBRARY_VERSION will trigger its release
# modify time: 202501061430, you can modify here to trigger Docker Build action
# modify time: 202501130830, you can modify here to trigger Docker Build action
FROM python:3.10-slim-bullseye

View File

@ -242,24 +242,6 @@ install_tools(){
echo_prefix_tools=$'\n[Tools] - '
echo "$echo_prefix_tools Starting install necessary tool..."
if [ "$ID" = "rhel" ] || [ "$ID" = "ol" ]; then
RHEL_VERSION=${VERSION_ID%%.*}
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-${RHEL_VERSION}.noarch.rpm >/dev/null
if [ $? -ne 0 ]; then
exit 1
fi
elif [ "$ID" = "centos" ] || [ "$ID" = "rocky" ]; then
sudo yum install -y "$repo_tools_yum" >/dev/null
if [ $? -ne 0 ]; then
exit 1
fi
elif [ "$ID" = "amzn" ]; then
sudo amazon-linux-extras install epel -y >/dev/null
if [ $? -ne 0 ]; then
exit 1
fi
fi
dnf --version >/dev/null 2>&1
dnf_status=$?
yum --version >/dev/null 2>&1

View File

@ -11,8 +11,8 @@
},
"OS": {
"Fedora": [
"41",
"40"
"40",
"39"
],
"RedHat": [
"9",