add python env

Signed-off-by: Gong Sophia <sophia.gong@intel.com>
This commit is contained in:
Gong Sophia
2021-12-16 14:12:46 -08:00
committed by William Douglas
parent 7eb8a1e861
commit c4782b8980
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ RUN cd / && \
FROM clearlinux/os-core:latest
ENV NAME="clearlinux-python"
COPY --from=builder /install_root /
CMD ["python3"]
+6
View File
@@ -55,6 +55,12 @@ Docker Hub.
<!-- Optional -->
### Deploy with Kubernetes
### Environment variables
The python image has environment variable 'NAME' to indicate clearlinux python docker container.
<!-- Required -->
## Build and modify: