We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d755a4 commit f3d2fe2Copy full SHA for f3d2fe2
1 file changed
Dockerfile
@@ -1,8 +1,12 @@
1
-FROM golang:1.17
+FROM golang:1.17 as STANDARD
2
3
RUN apt-get update && \
4
apt-get -y install unzip build-essential autoconf libtool
5
6
+ARG TARGETOS
7
+ARG TARGETARCH
8
+ENV BUILDX_ARCH="${TARGETOS:-linux}_${TARGETARCH:-amd64}"
9
+
10
# Install protobuf from source
11
RUN curl -LjO https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.17.3.zip && \
12
unzip v3.17.3.zip && \
0 commit comments