[Error] Libmongocrypt Create dockerfile

Hi, I am doing a database encryption project with the “Libmongocrypt” library (https://www.mongodb.com/docs/manual/core/csfle/quick-start/#std-label-csfle-quick-start), where in a local environment I was able to do all the logic and it works fine. The problem I have is when creating the Dockerfile, I tried to create it in alpine, in ubuntu and in debian but errors always appear. Currently the one that I have been able to advance the most has been debian, but this is the error message.

FROM --platform=amd64 golang:1.18-buster as builder


RUN sh -c 'curl -s --location https://www.mongodb.org/static/pgp/libmongocrypt.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/libmongocrypt.gpg' &&\
    echo "deb https://libmongocrypt.s3.amazonaws.com/apt/debian buster/libmongocrypt/1.2 main" | tee /etc/apt/sources.list.d/libmongocrypt.list &&\
    apt-get update && apt-get install -y --no-install-recommends \
    libmongocrypt-dev \
    ca-certificates \
    g++ \
    gcc \
    git \
    openssh-client \
    bash tzdata \
    build-essential \
    procps \
    file \

RUN go build -tags cse ./… && go build -tags cse