github.com/klaytn/klaytn@v1.12.1/build/Dockerfile-go1.12.5-solc0.4.24 (about) 1 FROM ubuntu:18.04 2 USER root 3 RUN apt update 4 RUN apt install -y git lsb-core sudo 5 RUN apt install -y libboost-all-dev 6 RUN apt install -y build-essential cmake 7 WORKDIR /root 8 RUN git clone --recursive https://github.com/ethereum/solidity.git 9 WORKDIR /root/solidity 10 RUN git checkout v0.4.24 11 RUN ./scripts/build.sh 12 RUN mkdir /root/golang-1.12.5 13 WORKDIR /root/golang-1.12.5 14 RUN curl -O https://dl.google.com/go/go1.12.5.linux-amd64.tar.gz 15 RUN tar -xvzf go1.12.5.linux-amd64.tar.gz 16 RUN mv go /usr/local 17 RUN ln -s /usr/local/go/bin/go /usr/bin/ 18 RUN ln -s /usr/local/go/bin/gofmt /usr/bin/ 19 RUN ln -s /usr/local/go/bin/godoc /usr/bin/ 20