Build language support

Updated at:

Apsara DevOps Flow supports building applications in various languages using multiple build steps. This document lists the software installed in the build environments and explains how to use them for different languages.

Common software

All build environments include the following software:

  1. gcc/g++ 4.8.4

  2. make 3.8.1

  3. curl 7.35.0

  4. wget 1.15

  5. unzip 6.00

  6. git 1.9.1

Language-specific build environments

Language

Supported versions

Java

  • Maven 2.2.1, 3.2.5, 3.5.2, 3.6.1, 3.6.3

  • Gradle Flow does not have a built-in Gradle. Use GradleWrapper.

    • Modify the gradle/wrapper/gradle-wrapper.properties file. Change the distributionUrl to the registry address provided by Flow. For example: "distributionUrl=https\://rdc-public-software.oss-cn-hangzhou.aliyuncs.com/gradle/gradle-6.5-bin.zip". Replace '6.5' in the URL with one of the following versions.

    • Apsara DevOps provides the following Gradle image versions: 4.4.1, 4.5.1, 4.6, 4.7, 4.8.1, 4.9, 4.10.3, 5.3.1, 5.4.1, 5.5.1, 5.6.4, 6.5, 6.6, 6.7, 6.8, 6.8.1, 6.8.2, 6.8.3, 6.9, 6.9.1, 6.9.2, 7.0, 7.0.1, 7.0.2, 7.1, 7.1.1, 7.2, 7.3, 7.3.1, 7.3.2, 7.3.3, 7.4.1, 7.4.2, 7.5

  • JDK 1.6

  • JDK 1.7

  • JDK 1.8

  • JDK 1.9

  • OpenJDK 10

  • OpenJDK 11

  • JDK 17

NodeJS

  • Python 2.7 and Python 3.8.10 are installed. They are added to the PATH variable by default and support node-gyp compilation.

  • yarn 1.15.2/cnpm 7.1.0

  • node 6.11.3 npm 3.10.10

  • node 7.10.0 npm 4.2.0

  • node 8.13.0 npm 6.4.1

  • node 9.11.2 npm 5.6.0

  • node 10.15.3 npm 6.4.1

  • node 11.15.0 npm 6.7.0

  • node 12.2.0 npm 6.9.0

  • node 12.18.4 npm 6.14.6

  • node 13.14.0 npm 6.14.4

  • node 14.8.0 npm 6.14.7

  • node 16.8 npm 7.21.0

  • node 18.12 npm 8.19.2

  • Custom NodeJS versions are supported.

Python

  • 2.7

  • 3.5

  • 3.6

  • 3.7

  • 3.8

PHP

  • composer 1.8.6

  • 5.6

  • 7.0

  • 7.1

  • 7.2

  • 7.3

  • 7.4

  • 8.0

  • 8.1

Golang

  • go-wrapper

  • 1.8.x

  • 1.9.x

  • 1.11.x

  • 1.12.x

  • 1.13.x

  • 1.14.x

  • 1.15.x

  • 1.16.x

  • 1.17.x

  • 1.18.x

  • 1.19.x

C/C++

  • gcc/g++ 4.8

  • gcc/g++ 4.9

  • gcc/g++ 5.3

  • gcc/g++ 6.4

  • gcc/g++ 8.4

  • gcc/g++ 8.4

  • gcc/g++ 9.3

  • gcc/g++ 10.2

.net Core

  • SDK 3.1

  • SDK 5.0

  • SDK 6.0

  • SDK 7.0

The basic build environment supports all the listed software. If your build requires additional tools, contact customer service for assistance.