Create the directory when build the image