Skip to content

Commit

Permalink
Update Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Jul 9, 2019
1 parent da01389 commit cf3eb39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-devel
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.11-alpine
FROM golang:1.12-alpine

ENV PROJECT_PATH=/lorawan
ENV PATH=$PATH:$PROJECT_PATH/build
ENV CGO_ENABLED=0
ENV GO_EXTRA_BUILD_ARGS="-a -installsuffix cgo"

RUN apk add --no-cache ca-certificates make git bash
RUN apk add --no-cache make git bash

RUN mkdir -p $PROJECT_PATH
COPY . $PROJECT_PATH
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ test: lint
go test -cover -v ./...

dev-requirements:
go mod download
go install golang.org/x/lint/golint

0 comments on commit cf3eb39

Please sign in to comment.