diff --git a/Dockerfile b/Dockerfile index 45fd6a3b..df0c0f15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,16 +8,14 @@ RUN cross_debian_arch=$(uname -m | sed 's/x86_64/arm64/' | sed 's/aarch64/amd64/ cross_pkg_arch=$(uname -m | sed 's/aarch64/x86-64/' | sed 's/x86_64/aarch64/'); \ apt-get update -y && \ apt-get dist-upgrade -y && \ - apt-get install -y \ - curl wget cmake dwz lsb-release software-properties-common gnupg git clang-16 llvm \ - golang unzip jq gcc-${cross_pkg_arch}-linux-gnu libc6-${cross_debian_arch}-cross && \ + apt-get install -y wget make git clang-16 golang unzip \ + gcc-${cross_pkg_arch}-linux-gnu libc6-${cross_debian_arch}-cross && \ apt-get clean autoclean && \ apt-get autoremove --yes RUN wget -qO- https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \ | sh -s -- -b $(go env GOPATH)/bin v1.56.2 - # gRPC dependencies RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0 RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 @@ -27,7 +25,7 @@ RUN PB_FILE="protoc-24.4-linux-$(uname -m | sed 's/aarch64/aarch_64/').zip"; \ INSTALL_DIR="/usr/local"; \ \ - curl -LO "$PB_URL/$PB_FILE" \ + wget -q "$PB_URL/$PB_FILE" \ && unzip "$PB_FILE" -d "$INSTALL_DIR" 'bin/*' 'include/*' \ && chmod +xr "$INSTALL_DIR/bin/protoc" \ && find "$INSTALL_DIR/include" -type d -exec chmod +x {} \; \