From 0f9f17fb1b114209537e1e6b7219513350cbcbbc Mon Sep 17 00:00:00 2001 From: Alan Ren Date: Wed, 2 Jun 2021 05:23:21 -0700 Subject: [PATCH] update ubuntu version (#15604) --- build/azure-pipelines/distro-build.yml | 2 +- build/azure-pipelines/docker/Dockerfile | 4 ++-- build/azure-pipelines/linux/Dockerfile | 4 ++-- build/azure-pipelines/sql-product-build.yml | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build/azure-pipelines/distro-build.yml b/build/azure-pipelines/distro-build.yml index 08aa145de9..0eecb5a48f 100644 --- a/build/azure-pipelines/distro-build.yml +++ b/build/azure-pipelines/distro-build.yml @@ -1,5 +1,5 @@ pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' trigger: branches: diff --git a/build/azure-pipelines/docker/Dockerfile b/build/azure-pipelines/docker/Dockerfile index 7504e8aa6e..41c4808d76 100644 --- a/build/azure-pipelines/docker/Dockerfile +++ b/build/azure-pipelines/docker/Dockerfile @@ -1,5 +1,5 @@ -#Download base image ubuntu 16.04 -FROM ubuntu:16.04 +#Download base image ubuntu 18.04 +FROM ubuntu:18.04 # Update Software repository RUN apt-get update diff --git a/build/azure-pipelines/linux/Dockerfile b/build/azure-pipelines/linux/Dockerfile index cd79fdff9e..9d4810a48b 100644 --- a/build/azure-pipelines/linux/Dockerfile +++ b/build/azure-pipelines/linux/Dockerfile @@ -1,5 +1,5 @@ -#Download base image ubuntu 16.04 -FROM ubuntu:16.04 +#Download base image ubuntu 18.04 +FROM ubuntu:18.04 # Update Software repository RUN apt-get update && apt-get upgrade -y diff --git a/build/azure-pipelines/sql-product-build.yml b/build/azure-pipelines/sql-product-build.yml index 110e52f139..412ada4d89 100644 --- a/build/azure-pipelines/sql-product-build.yml +++ b/build/azure-pipelines/sql-product-build.yml @@ -7,7 +7,7 @@ resources: jobs: - job: Compile pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' container: linux-x64 steps: - script: | @@ -40,7 +40,7 @@ jobs: - job: Linux condition: and(succeeded(), eq(variables['VSCODE_BUILD_LINUX'], 'true')) pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' container: linux-x64 dependsOn: - Compile @@ -53,7 +53,7 @@ jobs: - job: LinuxWeb condition: and(succeeded(), eq(variables['VSCODE_BUILD_WEB'], 'true'), ne(variables['VSCODE_QUALITY'], 'saw')) pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' container: linux-x64 variables: VSCODE_ARCH: x64 @@ -66,7 +66,7 @@ jobs: - job: Docker condition: and(succeeded(), eq(variables['VSCODE_BUILD_DOCKER'], 'true')) pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' container: linux-x64 dependsOn: - Linux @@ -98,7 +98,7 @@ jobs: - job: Release condition: and(succeeded(), or(eq(variables['VSCODE_RELEASE'], 'true'), and(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['Build.Reason'], 'Schedule')))) pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'Ubuntu-18.04' dependsOn: - macOS - Linux