Skip to content

Commit

Permalink
[slave]: Remove temporarily downloaded file (#3222)
Browse files Browse the repository at this point in the history
Remove the downloaded tar ball after installation

Signed-off-by: Shu0T1an ChenG <[email protected]>
  • Loading branch information
stcheng authored Jul 27, 2019
1 parent b4517b9 commit 4585590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sonic-slave-stretch/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ RUN export VERSION=1.11.5 \
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
{%- endif %}
&& 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
RUN pip install \
Expand Down
3 changes: 2 additions & 1 deletion sonic-slave/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ RUN export VERSION=1.11.5 \
&& tar -C /usr/local -xzf go$VERSION.linux-amd64.tar.gz \
{%- endif %}
&& 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
# Note: use pip2 specific version so jinja2 2.10 will install
Expand Down

0 comments on commit 4585590

Please sign in to comment.