github.com/klaytn/klaytn@v1.12.1/build/Dockerfile-go1.18-solc0.8.13-ubuntu (about)

     1  FROM ubuntu:20.04 as solc_0.8.13_builder
     2  ENV DEBIAN_FRONTEND=noninteractive
     3  ENV TZ=Asia/Seoul
     4  RUN apt update
     5  RUN apt install -yq tzdata && \
     6      ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
     7      dpkg-reconfigure -f noninteractive tzdata
     8  RUN apt install -y git lsb-core sudo libboost-all-dev build-essential cmake z3
     9  RUN git clone --depth 1 --recursive -b v0.8.13 https://github.com/ethereum/solidity
    10  RUN cd /solidity && cmake -DCMAKE_BUILD_TYPE=Release -DTESTS=0 -DSTATIC_LINKING=1
    11  RUN cd /solidity && touch prerelease.txt
    12  RUN cd /solidity && make solc
    13  RUN cd /solidity && install -s solc/solc /usr/bin
    14  
    15  FROM ubuntu:20.04 as go_builder
    16  RUN apt update
    17  RUN apt install -yq tzdata && \
    18      ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
    19      dpkg-reconfigure -f noninteractive tzdata
    20  RUN apt install -y build-essential bash gcc musl-dev openssl wget golang-go
    21  RUN wget -O go.src.tar.gz https://dl.google.com/go/go1.18.src.tar.gz
    22  RUN tar -C /usr/local -xzf go.src.tar.gz
    23  RUN cd /usr/local/go/src/ && \
    24      ./make.bash
    25  
    26  FROM ubuntu:20.04
    27  RUN apt update
    28  RUN apt install -yq tzdata && \
    29      ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
    30      dpkg-reconfigure -f noninteractive tzdata
    31  RUN apt install -y ca-certificates libboost-all-dev git make gcc libc-dev curl bash python3 python3-dev python3-pip
    32  RUN pip3 install awscli
    33  COPY --from=solc_0.8.13_builder /usr/bin/solc /usr/bin/solc
    34  COPY --from=go_builder /usr/local/go /usr/local
    35  
    36  ENV GOPATH /go
    37  ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
    38  RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
    39  RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0