Use a ubuntu based image for integration tests (#1729)

* Use a ubuntu based image for integration tests

* all integrations

* fix se

* se docker updae

* one more try with SE

* use focal image only for build

* use focal for build only in
This commit is contained in:
Cijo Thomas 2021-01-27 13:47:24 -08:00 committed by GitHub
parent 05bba18f4d
commit 0e8b423bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# docker build --file test/OpenTelemetry.Instrumentation.SqlClient.Tests/dockerfile .
ARG SDK_VERSION=5.0
FROM mcr.microsoft.com/dotnet/sdk:${SDK_VERSION} AS build
FROM mcr.microsoft.com/dotnet/sdk:5.0-focal AS build
ARG PUBLISH_CONFIGURATION=Release
ARG PUBLISH_FRAMEWORK=net5.0
WORKDIR /repo

View File

@ -3,7 +3,7 @@
# docker build --file test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/dockerfile .
ARG SDK_VERSION=5.0
FROM mcr.microsoft.com/dotnet/sdk:${SDK_VERSION} AS build
FROM mcr.microsoft.com/dotnet/sdk:5.0-focal AS build
ARG PUBLISH_CONFIGURATION=Release
ARG PUBLISH_FRAMEWORK=net5.0
WORKDIR /repo

View File

@ -9,7 +9,7 @@ WORKDIR /w3c
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/w3c/trace-context.git
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:5.0-focal AS build
ARG PUBLISH_CONFIGURATION=Release
ARG PUBLISH_FRAMEWORK=net5.0
WORKDIR /repo