Skip to content

Commit

Permalink
fix(orc8r): fix orc8r docker build on M1 Macs (magma#11620)
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Makeev <[email protected]>
  • Loading branch information
emakeev authored Feb 16, 2022
1 parent 0f16c0d commit d7ec357
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion orc8r/cloud/docker/controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# ------------------------------------------------------------------------------
# Base: for tests, precommit, codegen, etc.
# ------------------------------------------------------------------------------
FROM ubuntu:xenial as base
ARG PLATFORM=linux/amd64

FROM --platform=$PLATFORM ubuntu:xenial as base

ENV GO111MODULE on
ENV GOPATH ${USER}/go
Expand Down

0 comments on commit d7ec357

Please sign in to comment.