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.
2 parents b5e7e3d + e2ff490 commit fd811a8Copy full SHA for fd811a8
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM golang:1.17-alpine as builder
+FROM --platform=${BUILDPLATFORM} golang:1.17-alpine as builder
2
3
# Copy in the local repository to build from.
4
COPY . /go/src/github.com/lightningnetwork/loop
@@ -18,7 +18,7 @@ RUN apk add --no-cache --update alpine-sdk \
18
&& make install
19
20
# Start a new, final image to reduce size.
21
-FROM alpine as final
+FROM --platform=${BUILDPLATFORM} alpine as final
22
23
# Expose lnd ports (server, rpc).
24
EXPOSE 8081 11010
0 commit comments