mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
Dockerfile: don't install unneeded packages, dump Go RACE
This commit is contained in:
parent
5667618e7b
commit
8286e4c6e4
1 changed files with 4 additions and 3 deletions
|
|
@ -9,16 +9,17 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||
## Install base dependencies
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get install -y git mercurial build-essential software-properties-common wget \
|
||||
pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev
|
||||
pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev --no-install-recommends
|
||||
|
||||
## Install Qt5.4.1 (not required for CLI)
|
||||
# RUN add-apt-repository ppa:beineri/opt-qt541-trusty -y && \
|
||||
# apt-get install -y qt54quickcontrols qt54webengine mesa-common-dev libglu1-mesa-dev
|
||||
# ENV PKG_CONFIG_PATH /opt/qt54/lib/pkgconfig
|
||||
|
||||
# Install Go
|
||||
# Install Go, dump the race detector
|
||||
RUN wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz && \
|
||||
tar -C /usr/local -xzf go*.tar.gz && \
|
||||
tar -C /usr/local -xzf go*.tar.gz && \
|
||||
rm -rf /usr/local/go/pkg/linux_amd64_race && \
|
||||
go version
|
||||
|
||||
# Workaround, to make sure that docker's cache is invalidated whenever the git repo changes
|
||||
|
|
|
|||
Loading…
Reference in a new issue