Skip to content

Commit

Permalink
arm32v6-1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cjimti committed Apr 8, 2018
1 parent a1ed4a8 commit ea8ccc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v6/golang:1.10.1 AS builder
FROM arm32v6/golang:1.10.1-alpine3.7 AS builder

ENV GOPATH /go
WORKDIR /go/src
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ all: build push
dev: dev_build dev_run

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

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

dev_build:
docker build -t $(IMAGE) ./dev/
Expand All @@ -19,6 +21,6 @@ dev_run:
sudo docker run --rm -it --privileged --network=host \
-v $(CURDIR):/go/src/github.com/cjimti/iotwifi \
-w /go/src/github.com/cjimti/iotwifi \
--name=$(NAME) $(IMAGE)
--name=$(NAME) $(IMAGE):latest


0 comments on commit ea8ccc7

Please sign in to comment.