mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 09:53:06 -06:00
first pass at basic AL2022 support
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
set -e
|
||||
|
||||
source /etc/os-release
|
||||
if [[ $ID = "amzn" ]]; then
|
||||
if [[ $ID = "amzn" ]] && [[ $VERSION = "2" ]]; then
|
||||
amazon-linux-extras enable python3.8
|
||||
yum clean metadata
|
||||
yum install -y \
|
||||
@@ -11,6 +11,11 @@ if [[ $ID = "amzn" ]]; then
|
||||
python38 \
|
||||
python38-pip \
|
||||
python38-devel
|
||||
elif [[ $ID = "amzn" ]] && [[ $VERSION = "2022" ]]; then
|
||||
dnf install -y \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-devel
|
||||
else
|
||||
# FIXME: Currently assumes Debian-based
|
||||
apt-get update && \
|
||||
|
||||
Reference in New Issue
Block a user