cd /tmp/ccache &&mkdir build &&cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. && make && make install&&\
rm-rf /tmp/ccache
# https://github.com/golang/go/issues/22040 Due to this issue, ld.gold cannot be used in the ARM environment, so the official golang package cannot be used. You need to use the golang package that comes with yum.
# Install Go
# ENV GOPATH /go
# ENV GOROOT /usr/local/go
# ENV GO111MODULE on
# ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH
# RUN mkdir -p /usr/local/go && wget -qO- "https://go.dev/dl/go1.20.7.linux-$TARGETARCH.tar.gz" | tar --strip-components=1 -xz -C /usr/local/go && \