Docker image for Flutter Android builds on Azure Pipelines
It handles the issue that Azure Pipelines creates an own user inside the container, and needs root rights for it:
- Can't acquire root on common container distros
- Azure DevOps pipeline limitations when using SDK images
- Pre-adds the Azure Pipeline user
- Sets the user back to
root, that Azure Pipelines pre-build scripts work
pool: vmImage: 'ubuntu-16.04' container: messeb/docker-image-flutter-azure-pipelines:latest steps: - script: | flutter build apk --release displayName: 'Flutter Android build'