Skip to content

Commit

Permalink
Fix docker image building for stan (elastic#18913)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Jun 3, 2020
1 parent 92871f7 commit ae1f3d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/metricbeat/module/stan/_meta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ ARG STAN_VERSION=0.15.1
FROM nats-streaming:$STAN_VERSION

# build stage
FROM golang:1.13-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
RUN cd src && go get github.com/nats-io/stan.go/
FROM golang:1.13-alpine3.11 AS build-env
RUN apk --no-cache add build-base git mercurial gcc
RUN cd src && go get -d github.com/nats-io/stan.go/
RUN cd src/github.com/nats-io/stan.go/examples/stan-bench && git checkout tags/v0.5.2 && go build .

# create an enhanced container with nc command available since nats is based
Expand Down

0 comments on commit ae1f3d2

Please sign in to comment.