Skip to content

Commit

Permalink
Fix docker image building for stan (elastic#18913) (elastic#18923)
Browse files Browse the repository at this point in the history
(cherry picked from commit ae1f3d2)
  • Loading branch information
jsoriano committed Jun 3, 2020
1 parent 189a9ba commit 72b3a74
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 72b3a74

Please sign in to comment.