Strange directory in /home/circleci

This morning we noticed that that there’s a strange directory in /home/circleci:
drwxr-xr-x 3 circleci circleci 4096 Aug 15 16:42 {,.local

and that directory contains another directory:
drwxr-xr-x 2 circleci circleci 4096 Aug 15 16:42 }bin

I can’t find a place where that would be created in our scripts. Is this an artifact introduced by CircleCI?

Looks like this is an error in the CircleCI dockerfile!

This commit that went out 4 hours ago updated 71 Dockerfile files with this line:

RUN mkdir -p $HOME/{,.local/}bin 

I quickly identified the problem and pushed out a fix but it caused a CI outage for us because we assume a clean home directory. Can someone at CircleCI please fix this ASAP?

1 Like

The developer pushed out the fix in this PR: https://github.com/circleci/circleci-images/pull/428/files#diff-5be7479e3c79c36b22f2c65a6d424d31

BUT it’s still creating a bin and .local/bin directory in $HOME. Can someone at CircleCI explain why these directories are being added to the home directory for all base images?