mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Update to 3.10 and go 1.12
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.11-alpine3.8 AS builder
|
||||
FROM golang:1.12-alpine3.10 AS builder
|
||||
|
||||
WORKDIR $GOPATH/src/github.com/nats-io/nats-server
|
||||
|
||||
@@ -10,7 +10,7 @@ COPY . .
|
||||
|
||||
RUN CGO_ENABLED=0 GO111MODULE=off go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w -X github.com/nats-io/nats-server/server.gitCommit=`git rev-parse --short HEAD`" -o /nats-server
|
||||
|
||||
FROM alpine:3.8
|
||||
FROM alpine:3.10
|
||||
|
||||
RUN apk add --update ca-certificates && mkdir -p /nats/bin && mkdir /nats/conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user