Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Commit

Permalink
set go build container to arm32v6 to close #2
Browse files Browse the repository at this point in the history
  • Loading branch information
cjimti committed Apr 8, 2018
1 parent ad2f855 commit a1ed4a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/golang:1.9 AS builder
FROM arm32v6/golang:1.10.1 AS builder

ENV GOPATH /go
WORKDIR /go/src
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
IMAGE ?= cjimti/iotwifi
NAME ?= iotwifi
VERSION ?= 1.0.4

all: build push

dev: dev_build dev_run

build:
docker build -t $(IMAGE) .
docker build -t $(IMAGE):arm32v6-$(VERSION) .

push:
docker push $(IMAGE)
Expand Down

0 comments on commit a1ed4a8

Please sign in to comment.