Problem Definition
atlassian/bamboo-agent-base by default start the remote agent with the System Encoding ANSI_X3.4-1968
Suggested Solution
Since remote agent works better with UTF-8, atlassian/bamboo-agent-base should start remote agent with System Encoding UTF-8 by default
Workaround
Build a new image with the following Dockerfile to change the locale:
FROM atlassian/bamboo-agent-base ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8