Closed
Description
openedon Feb 2, 2023
Following method all fails with running the agent in Docker.
docker run dockeragent:latest --once
command: "--once"
in docker-compose.yaml
args:
- '--once'
in k8s deployment
Error message from Docker:
./env.sh: line 44: --once: invalid variable name
Error message from k8s pod:
./env.sh: line 44: --once: bad substitution
This worked fine up until v2.214.1 and then it's broken with v2.217.0.
Since docker image run always download latest version, all our agents in Docker are broken.
Docker image was built using instructions on this page: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops#linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment