View a markdown version of this page

Verfügbare Laufzeiten - AWS CodeBuild

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

Verfügbare Laufzeiten

Sie können eine oder mehrere Laufzeiten im Abschnitt runtime-versions Ihrer buildspec-Datei angeben. Wenn Ihre Laufzeit von einer anderen Laufzeit abhängig ist, können Sie auch die abhängige Laufzeit in der buildspec-Datei angeben. Wenn Sie in der Buildspec-Datei keine Laufzeiten angeben, CodeBuild wählt die Standard-Laufzeiten aus, die in dem von Ihnen verwendeten Image verfügbar sind. Wenn Sie eine oder mehrere Laufzeiten angeben, werden nur diese Laufzeiten verwendet. CodeBuild Wenn keine abhängige Laufzeit angegeben ist, wird CodeBuild versucht, die abhängige Laufzeit für Sie auszuwählen.

Anmerkung

Wenn keine Laufzeitversion angegeben ist, wird die Standardversion CodeBuild verwendet. Die Standardversion kann sich ändern, wenn eine frühere Standardversion das Lebensende (EOL) erreicht. Um unerwartete Änderungen an der Build-Umgebung zu vermeiden, empfehlen wir, eine Laufzeitversion in der Buildspec-Datei anzugeben.

Weitere Informationen finden Sie unter Specify runtime versions in the buildspec file.

Specify runtime versions in the buildspec file.

.

Linux-Image-Laufzeiten

Die folgende Tabelle enthält die verfügbaren Laufzeiten und die Standard-Linux-Images, die sie unterstützen.

Laufzeiten für Ubuntu- und Amazon Linux-Plattformen
Laufzeitname Version Bilder
dotnet 6.0

Amazon Linux 2 x86_64 Lambda-Standard: dotnet6

Amazon Linux 2 AArch64 Lambda-Standard: dotnet6

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

8.0

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

10.0

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

Golang 1.20

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

1.21

Amazon Linux 2 x86_64 Lambda-Standard: go1.21

Amazon Linux 2 AArch64 Lambda-Standard:go1.21

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

1.22

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

1.23

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

1.24

Amazon Linux 2023 x86_64 Lambda-Standard:go1.24

Amazon Linux 2023 AArch64 Lambda-Standard:go1.24

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

1.25

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

1.26

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

Java corretto8

Amazon Linux 2 x86_64 standard: corretto 8

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

corretto11

Amazon Linux 2 x86_64 Standard: Corretto 11

Amazon Linux 2 x86_64 Lambda-Standard:Corretto11

Amazon Linux 2 AArch64 Lambda standard: corretto 11

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

Korretto 17

Amazon Linux 2 x86_64 Lambda-Standard: Corretto 17

Amazon Linux 2 AArch64 Lambda-Standard: Korretto 17

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

Korretto 21

Amazon Linux 2 x86_64 Lambda-Standard: corretto 21

Amazon Linux 2 AArch64 Lambda standard: corretto 21

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

Korretto 25

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

nodejs 18

Amazon Linux 2 x86_64 Lambda-Standard: nodejs18

Amazon Linux 2 AArch64 Lambda-Standard: nodejs18

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

20

Amazon Linux 2 x86_64 Lambda-Standard: nodejs20

Amazon Linux 2 AArch64 Lambda-Standard: nodejs20

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

22

Amazon Linux 2023 x86_64 Lambda-Standard: nodejs22

Amazon Linux 2023 AArch64 Lambda-Standard:nodejs22

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

24

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

php 8.1

Amazon Linux 2023 AArch64 Standard: 3.0

8.2

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

8.3

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

8.4

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

8.5

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

python 3.9

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

3.10

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

3.11

Amazon Linux 2 x86_64 Lambda-Standard: Python 3.11

Amazon Linux 2 AArch64 Lambda-Standard: Python 3.11

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

3.12

Amazon Linux 2 x86_64 Lambda-Standard: Python 3.12

Amazon Linux 2 AArch64 Lambda-Standard: Python 3.12

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

3.13

Amazon Linux 2023 x86_64 Lambda-Standard: Python 3.13

Amazon Linux 2023 AArch64 Lambda-Standard: Python 3.13

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

3.14

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

ruby 3.1

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

3.2

Amazon Linux 2 x86_64 Lambda-Standard: Ruby3.2

Amazon Linux 2 AArch64 Lambda-Standard: Ruby3.2

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

3.3

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

3.4

Amazon Linux 2023 x86_64 Lambda-Standard: Ruby3.4

Amazon Linux 2023 AArch64 Lambda-Standard: Ruby3.4

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

4,0

Amazon Linux 2023 x86_64 Standard:5.0

Amazon Linux 2023 x86_64 Standard: 6,0

Amazon Linux 2023 AArch64 Standard: 3.0

Ubuntu 22.04 Standard: 7.0

Ubuntu 24.04 Standard: 8.0

rust 1,94

Amazon Linux 2023 AArch64 Standard: 3.0

MacOS-Image-Laufzeiten

Wichtig

Die CodeBuild kuratierten Images für Mac-Builds enthalten macOS und Xcode vorinstalliert. Durch die Nutzung der Xcode-Software erkennen Sie die Vereinbarung zwischen Xcode und Apple an, verstehen sie und stimmen ihr zu. SDKs Wenn Sie die Bedingungen der Vereinbarung nicht akzeptieren, verwenden Sie die Xcode-Software nicht. Stellen Sie stattdessen Ihre eigenen Amazon Machine Images (AMI) bereit. Weitere Informationen finden Sie unter Wie konfiguriere ich eine macOS-Flotte mit reservierter Kapazität?.

Die folgende Tabelle enthält die verfügbaren Laufzeiten, die von macOS unterstützt werden.

Laufzeiten der macOS-Plattform
Laufzeitname Version Bilder Weitere Hinweise
bash

3.2.57

macos-arm-base3.2.57 ----sep----:15

macos-arm-base:15 ----sep----:26

klirren

17.0.0

macos-arm-base17.0.0 ----sep----:15

macos-arm-base:15 ----sep----:26

dotnet sdk

8.0.416

macos-arm-base8.0.416 ----sep----:15

8,0,417

macos-arm-base8.0.417 ----sep----:26

10,0,101

macos-arm-base10.0.101 ----sep----:15

10,0,102

macos-arm-base10.0.102 ----sep----:26

gcc

11,5,0

macos-arm-base11,5,0 ----Sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gcc-11

12.4.0

macos-arm-base12,4,0 ----Sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gcc-12

13.4.0

macos-arm-base13,4,0 ----Sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gcc-13

14.3.0

macos-arm-base14.3.0 ----sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gcc-14

Gnu

11.5.0

macos-arm-base11,5,0 ----Sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gfortran-11

12.4.0

macos-arm-base12,4,0 ----Sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gfortran-12

13.4.0

macos-arm-base13,4,0 ----Sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gfortran-13

14.3.0

macos-arm-base14.3.0 ----sep----:15

macos-arm-base:15 ----sep----:26

Verfügbar unter Verwendung des Alias gfortran-14

Golang

1.24.11

macos-arm-base1.24.11 ----sep----:15

macos-arm-base:15 ----sep----:26

1.25.4

macos-arm-base:26 ----sep----:15

macos-arm-base:15 ----sep----:26

Java

Korretto 8

macos-arm-baseCorretto8 ----sep----:15

macos-arm-base:15 ----sep----:26

Korretto 11

macos-arm-baseCorretto11 ----sep----:15

macos-arm-base:15 ----sep----:26

Korretto 17

macos-arm-baseCorretto17 ----sep----:15

macos-arm-base:15 ----sep----:26

Korretto 21

macos-arm-baseCorretto21 ----sep----:15

macos-arm-base:15 ----sep----:26

Korretto 25

macos-arm-baseCorretto25 ----sep----:15

macos-arm-base:15 ----sep----:26

Kotlin

2.2.21

macos-arm-base2.2.21 ----sep----:15

2.3.0

macos-arm-base:15 ----sep----:26

mono

6.14.1

macos-arm-base6.14.1 ----sep----:15

macos-arm-base:15 ----sep----:26

nodejs

20,19,6

macos-arm-base20,19,6 ----sep----:15

macos-arm-base:15 ----sep----:26

22,21,1

macos-arm-base22.21.1 ----sep----:15

macos-arm-base:15 ----sep----:26

24,11,1

macos-arm-base24.11.1 ----sep----:15

macos-arm-base:15 ----sep----:26

perl

5,34,1

macos-arm-base5,34,1 ----sep----:15

macos-arm-base:15 ----sep----:26

php

8,2,29

macos-arm-base8.2.29 ----sep----:15

8,2,30

macos-arm-base8.2.30 ----sep----:26

8,3,28

macos-arm-base8.3.28 ----sep----:15

8,3,30

macos-arm-base8.3.30 ----sep----:26

8,4,15

macos-arm-base8.4.15 ----sep----:15

8,4,17

macos-arm-base8.4.17 ----sep----:26

8,5,0

macos-arm-base8.5.0 ----sep----:15

8,5.2

macos-arm-base8.5.2 ----sep----:26

python

3,10,19

macos-arm-base3.10.19 ----sep----:15

macos-arm-base:15 ----sep----:26

3,11,14

macos-arm-base3.11.14 ----sep----:15

macos-arm-base:15 ----sep----:26

3.12,12

macos-arm-base3.12.12 ----sep----:15

macos-arm-base:15 ----sep----:26

3,13,10

macos-arm-base3.13.10 ----sep----:15

macos-arm-base:15 ----sep----:26

3,14,1

macos-arm-base3.14.1 ----sep----:15

macos-arm-base:15 ----sep----:26

ruby

3,2,9

macos-arm-base3.2.9 ----sep----:15

macos-arm-base:15 ----sep----:26

3,3,10

macos-arm-base3.3.10 ----sep----:15

macos-arm-base:15 ----sep----:26

3,4.7

macos-arm-base3.4.7 ----sep----:15

macos-arm-base:15 ----sep----:26

rust

1.91.1

macos-arm-base1.91.1 ----sep----:15

1,92,0

macos-arm-base1,92,0 ----sep----:26

schnell

6.2.1

macos-arm-base6.2.1 ----sep----:15

6.2.3

macos-arm-base6.2.3 ----sep----:26

Xcode

26.1.1

macos-arm-baseXcode ----sep----:15

26,2

macos-arm-base26.2 ----sep----:26

Windows-Image-Laufzeiten

Das Basisimage von Windows Server Core 2019 enthält die folgenden Laufzeiten.

Laufzeiten der Windows-Plattform
Laufzeitname Windows Server Core 2019-Standard: 1.0-Versionen Windows Server Core 2019-Standard:2.0-Versionen Windows Server Core 2019-Standard:3.0-Versionen
dotnet

3.1

5.0

3.1

6.0

7.0

8.0

dotnet sdk

3.1

5.0

3.1

6.0

7.0

8.0
Golang 1.14 1,18

1,21

1,22

1,23

Gradel 6.7 7.6 8.12
Java Korretto 11

Korretto 11

Korretto 17

Korretto 8

Korretto 11

Korretto 17

Korretto 21

Maven 3.6 3.8 3.9
nodejs 14,15 16,19

20,18

22,13

php 7.4 8,1

8.3

8.4

powershell 7.1 7.2 7.4
python 3.8 3,10

3,10

3,11

3,12

3.13

ruby 2.7 3.1

3.2

3.3

3.4