fix legacy 'ENV name value' syntax

Signed-off-by: pacoxu <paco.xu@daocloud.io>
This commit is contained in:
pacoxu 2020-12-10 10:38:10 +08:00
parent ddf3eb5a18
commit 75a2cc2cfd
2 changed files with 4 additions and 4 deletions

View File

@ -27,14 +27,14 @@ RUN mkdir /var/run/kubernetes && chmod a+rwx /var/run/kubernetes
# The kubernetes source is expected to be mounted here. This will be the base
# of operations.
ENV HOME /go/src/k8s.io/kubernetes
ENV HOME=/go/src/k8s.io/kubernetes
WORKDIR ${HOME}
# Make output from the dockerized build go someplace else
ENV KUBE_OUTPUT_SUBPATH _output/dockerized
ENV KUBE_OUTPUT_SUBPATH=_output/dockerized
# Pick up version stuff here as we don't copy our .git over.
ENV KUBE_GIT_VERSION_FILE ${HOME}/.dockerized-kube-version-defs
ENV KUBE_GIT_VERSION_FILE=${HOME}/.dockerized-kube-version-defs
# Add system-wide git user information
RUN git config --system user.email "nobody@k8s.io" \

View File

@ -33,6 +33,6 @@ RUN wget https://github.com/tensorflow/models/archive/v1.9.0.tar.gz \
&& rm -f v1.9.0.tar.gz
WORKDIR $HOME/models-1.9.0/official/wide_deep
ENV PYTHONPATH $PYTHONPATH:$HOME/models-1.9.0
ENV PYTHONPATH=$PYTHONPATH:$HOME/models-1.9.0
ENTRYPOINT python ./wide_deep.py