Skip to content

Commit

Permalink
Use a ubuntu based image for integration tests (#1729)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cijothomas authored Jan 27, 2021
1 parent 05bba18 commit 0e8b423
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e8b423

Please sign in to comment.