[slave]: Remove temporarily downloaded file (#3222)
Remove the downloaded tar ball after installation Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
This commit is contained in:
parent
b4517b9591
commit
45855901e2
@ -294,7 +294,8 @@ RUN export VERSION=1.11.5 \
|
|||||||
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
|
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
&& echo 'export GOROOT=/usr/local/go' >> /etc/bash.bashrc \
|
&& echo 'export GOROOT=/usr/local/go' >> /etc/bash.bashrc \
|
||||||
&& echo 'export PATH=$PATH:$GOROOT/bin' >> /etc/bash.bashrc
|
&& echo 'export PATH=$PATH:$GOROOT/bin' >> /etc/bash.bashrc \
|
||||||
|
&& rm go$VERSION.linux-*.tar.gz
|
||||||
|
|
||||||
# For p4 build
|
# For p4 build
|
||||||
RUN pip install \
|
RUN pip install \
|
||||||
|
@ -286,7 +286,8 @@ RUN export VERSION=1.11.5 \
|
|||||||
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
|
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
&& echo 'export GOROOT=/usr/local/go' >> /etc/bash.bashrc \
|
&& echo 'export GOROOT=/usr/local/go' >> /etc/bash.bashrc \
|
||||||
&& echo 'export PATH=$PATH:$GOROOT/bin' >> /etc/bash.bashrc
|
&& echo 'export PATH=$PATH:$GOROOT/bin' >> /etc/bash.bashrc \
|
||||||
|
&& rm go$VERSION.linux-*.tar.gz
|
||||||
|
|
||||||
# Upgrade pip2
|
# Upgrade pip2
|
||||||
# Note: use pip2 specific version so jinja2 2.10 will install
|
# Note: use pip2 specific version so jinja2 2.10 will install
|
||||||
|
Reference in New Issue
Block a user