Is there a possibiliity to name a build-stage? I am searching something like the following example:
ARG NAME
FROM python:3.7-alpine as modul-${NAME}
# ...
If I try this example this error occurs:
Error response from daemon: Dockerfile parse error line 5: invalid name for build stage: "modul-${NAME}", name can't start with a number or contain symbols
I also tryed to use the argument as tag (modul:${NAME}
) with the same result.