The directory is the host triplet without the vendor part. This assumes the vendor part is always 'alpine'.