Skip to content

Commit

Permalink
Merge pull request #77 from spidernet-io/pr/welan/bbui
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
weizhoublue authored Nov 29, 2022
2 parents 94045c5 + 48d86ca commit 85a3abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion images/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderdoctor/agent-base:b381e7abefa471f6e6a3
ARG GOLANG_IMAGE=docker.io/library/golang:1.19

#======= build bin ==========
FROM --platform=${TARGETPLATFORM} ${GOLANG_IMAGE} as builder
# use BUILDPLATFORM to cross build
FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} as builder

# docker build var
ARG TARGETOS
Expand Down
3 changes: 2 additions & 1 deletion images/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderdoctor/controller-base:da74ed75a6af16a
ARG GOLANG_IMAGE=docker.io/library/golang:1.19

#======= build bin ==========
FROM --platform=${TARGETPLATFORM} ${GOLANG_IMAGE} as builder
# use BUILDPLATFORM to cross build
FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} as builder

# docker build var
ARG TARGETOS
Expand Down

0 comments on commit 85a3abe

Please sign in to comment.