Skip to content

Commit f3d2fe2

Browse files
feat: fix GitHub Action (#91)
* feat: fix GitHub Action * feat: fix GitHub Action * feat: fix GitHub Action
1 parent 4d755a4 commit f3d2fe2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
FROM golang:1.17
1+
FROM golang:1.17 as STANDARD
22

33
RUN apt-get update && \
44
apt-get -y install unzip build-essential autoconf libtool
55

6+
ARG TARGETOS
7+
ARG TARGETARCH
8+
ENV BUILDX_ARCH="${TARGETOS:-linux}_${TARGETARCH:-amd64}"
9+
610
# Install protobuf from source
711
RUN curl -LjO https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.17.3.zip && \
812
unzip v3.17.3.zip && \

0 commit comments

Comments
 (0)