First pass, adopted from Dockerfile