mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
fix legacy 'ENV name value' syntax
Signed-off-by: pacoxu <paco.xu@daocloud.io>
This commit is contained in:
parent
ddf3eb5a18
commit
75a2cc2cfd
@ -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
|
# The kubernetes source is expected to be mounted here. This will be the base
|
||||||
# of operations.
|
# of operations.
|
||||||
ENV HOME /go/src/k8s.io/kubernetes
|
ENV HOME=/go/src/k8s.io/kubernetes
|
||||||
WORKDIR ${HOME}
|
WORKDIR ${HOME}
|
||||||
|
|
||||||
# Make output from the dockerized build go someplace else
|
# 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.
|
# 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
|
# Add system-wide git user information
|
||||||
RUN git config --system user.email "nobody@k8s.io" \
|
RUN git config --system user.email "nobody@k8s.io" \
|
||||||
|
@ -33,6 +33,6 @@ RUN wget https://github.com/tensorflow/models/archive/v1.9.0.tar.gz \
|
|||||||
&& rm -f v1.9.0.tar.gz
|
&& rm -f v1.9.0.tar.gz
|
||||||
|
|
||||||
WORKDIR $HOME/models-1.9.0/official/wide_deep
|
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
|
ENTRYPOINT python ./wide_deep.py
|
||||||
|
Loading…
Reference in New Issue
Block a user