mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-05 01:01:09 +01:00
10 lines
396 B
Docker
10 lines
396 B
Docker
|
FROM snapcore/snapcraft:stable
|
||
|
ARG GO_VERSION
|
||
|
RUN apt-get update && apt-get install -y git make wget binutils build-essential bzip2 cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5
|
||
|
|
||
|
RUN cd /usr/local &&\
|
||
|
wget https://dl.google.com/go/go1.17.3.linux-amd64.tar.gz &&\
|
||
|
tar -zxvf go$GO_VERSION.linux-amd64.tar.gz && rm go$GO_VERSION.linux-amd64.tar.gz
|
||
|
ENV PATH="/usr/local/go/bin:${PATH}"
|
||
|
|