I have configured a self-hosted Linux agent based on Ubuntu 20.04 running in a Docker container. It reports in to the agent pool and runs correctly. I’ll be running the agents in AWS Fargate. My question is whether it is considered a best practice to install the dotnet SDK in my Docker image, which will ..
Category : azure-devops
I am deploying an application to Azure from a container and an image stored in DockerHub. When I deploy the repository in the DockerHub is public so I can easily deploy it. However, I would like to have the repository private and still be able to deploy it. Can I somehow pass my credentials for ..
i’m struggling a lot with a Laravel application that i want to deploy to azure AKS using azure DevOps the thing is i’m reading a lots of non-accurate tutorials and docs, i didnt found anything related on how to push or deploy a Laravel docker image to azure aks using azure DevOps and it’s frustrating, ..
In our Azure DevOps Build Pipelines we use a Service Connection for NuGet Restore like so: – task: [email protected] inputs: command: ‘restore’ feedsToUse: ‘config’ nugetConfigPath: ‘nuget.config’ externalFeedCredentials: ‘Our NuGet Service Connection’ Is it possible to use the credentials from the Service Connection in a Docker Build? I read this documentation on Managing NuGet Credentials in ..
I’m building multiple projects using a single docker build, generating an image and pushing that into AWS ECR. I’ve recently noticed that builds that were taking 6-7 minutes are now taking on the order of 25 minutes. The Docker build portion of the process that checks out git repos and does the project builds takes ..
I want to build Docker images to run on ARM platforms using an Azure Pipeline. I can easily build images for Intel but I do not find a proper and up-to-date guide on how to configure the pipeline to build images for ARM. How to build a Docker image for Raspberry Pi using an Azure ..
Based on some helpful advice I received on how to structure unit tests in relation to building Docker images, I’ve run into a new road block. The take away is essentially: Build the application in the Agent Pool. Run unit tests. If they pass, put that exact build into your Docker image. Run E2E tests. ..
We are using self hosted agent (windows server 2019) for our Azure DevOps. Please suggest which product from this site (https://www.docker.com/products) we need to install (If it Docker Engine, I am not able to find it windows server). Also please let me know what kind of license we need to purchase. Source: Docker..
I am deploying a docker image from ACR to windows based App Service using Azure DevOps release pipeline (with Azure Web App on Container Deploy task). But getting the error as "Error: Failed to patch App Service ” configuration. Error: BadRequest – The parameter DOCKER_REGISTRY_SERVER_URL has an invalid value. Unexpected error when connecting to the ..
what i am trying to do is remove all images and only keep last two images of every build. i have almost achieved this but i am getting some docker rmi error although the script successfully removed images which i don’t need. also if there is a way to make it more precise or clean ..