Comments (2)
@tg73, the NUGET_XMLDOC_MODE=skip
setting comes from the original docker images provided by Microsoft, e.g: https://github.com/dotnet/dotnet-docker/blob/master/2.1/sdk/nanoserver-1803/amd64/Dockerfile
If you need different setting you could easily create derived image from jetbrains/teamcity-agent
or define required env.NUGET_XMLDOC_MODE
environment parameter in your build configuration.
from teamcity-docker-agent.
@dtretyakov, I'm slightly confused: for example, https://github.com/JetBrains/teamcity-docker-agent/blob/master/windowsservercore/Dockerfile appears to be based on microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-$TAG
, which comes from https://github.com/Microsoft/dotnet-framework-docker/blob/master/4.7.2-windowsservercore-1803/sdk/Dockerfile, which is based on microsoft/dotnet-framework:4.7.2-runtime-windowsservercore-1803
which comes from https://github.com/Microsoft/dotnet-framework-docker/blob/master/4.7.2-windowsservercore-1803/runtime/Dockerfile, which is based on microsoft/windowsservercore:1803
. None of those Dockerfiles introduce NUGET_XMLDOC_MODE=skip
. None of those are based on microsoft/dotnet
(which comes from the url you mentioned https://github.com/dotnet/dotnet-docker/blob/master/2.1/sdk/nanoserver-1803/amd64/Dockerfile), and the actual ENV
directive appears to be introduced for the first time in https://github.com/JetBrains/teamcity-docker-agent/blob/master/windowsservercore/Dockerfile.
It's still not clear to me why having this setting in a general-purpose TC agent image is a good idea, notably when compared to the general TC documentation. For my own purposes, I've had to create my own Dockerfile "flattened" all the way down including the content microsoft/dotnet-framework:4.7.2-sdk
Dockerfile because our builds need additional workloads from the buildtools installer, and despite my best efforts I could not successfully get the buildtools installer to add further components to the existing installation - so instead we add what we need from the very beginning. So I can of course use my desired setting. I'm raising the issue because it might be a subtle pitfall for other users.
from teamcity-docker-agent.
Related Issues (20)
- Can we run tests on containers in build agent by installing Docker in teamcity build agent HOT 2
- Missing fontconfig package in linux HOT 1
- DOCKER_OPTS insecure-registry setting not working HOT 5
- Support for .net sdk 3.0 HOT 8
- Unable to build docker image HOT 1
- Question: official php support? HOT 1
- windows docker image doesn't contain powershell HOT 4
- Document options that can be set in environment variables HOT 3
- Issue with apt installer HOT 4
- Docker does not start anymore with version 2020.1 HOT 7
- Windows Docker Agent Building Windows Docker Images HOT 1
- teamcity-agent docker image latest version jetbrains/teamcity-agent:2020.1 prevents installations as root HOT 2
- How to import GnuPG keys? HOT 2
- agent container downloads update in loop HOT 7
- Mercurial missing in 2020.1.2 images HOT 6
- Permission issue when attempting to run in docker swarm HOT 11
- Docker service fails to set ulimit HOT 1
- Generating Self Singed Certificated for TeamCity Agent & Connection to Teamcity Server in Docker HOT 2
- cgroups: cgroup mountpoint does not exist: unknown HOT 3
- Kubernetes no longer supports Dockershim and it breaks TeamCity agent on EKS 1.24 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teamcity-docker-agent.