ENV, ARG respectively specify the variables in the image construction process and in the container
ARG USER # USER变脸以及下面的DJANGO_CONFIGURATION均在构建镜像过程中有效,构建完成后以及容器内均无效
ARG DJANGO_CONFIGURATION
ENV DJANGO_CONFIGURATION=${DJANGO_CONFIGURATION} # 在镜像构建后,容器启动后依然有效,可覆盖
wget: linux download tool, -q does not output information, -O writes the document to file echo: output string to the screen tee: saves the output to the specified file DEBIAN_FORNTEND: environment variable, tells the operating system how to obtain user input, set to ' Noninteractive' means that no user input is required. The non-interactive mode is very fast when building the image, but do not cover it with environment variables to avoid affecting the interaction.