Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@
# Explicit version of Pulsar and Golang images should be
# set via the Makefile or CLI
ARG PULSAR_IMAGE=apachepulsar/pulsar:latest

ARG GO_VERSION=1.20
FROM golang:$GO_VERSION as golang

FROM $PULSAR_IMAGE
USER root
ARG GO_VERSION=1.18
ARG ARCH=amd64

RUN curl -L https://dl.google.com/go/go${GO_VERSION}.linux-${ARCH}.tar.gz -o golang.tar.gz && \
mkdir -p /pulsar/go && tar -C /pulsar -xzf golang.tar.gz
COPY --from=golang /usr/local/go /pulsar/go

ENV PATH /pulsar/go/bin:$PATH

RUN apt-get update && apt-get install -y git && apt-get install -y gcc

RUN apt-get update && apt-get install -y git gcc

### Add pulsar config
COPY integration-tests/certs /pulsar/certs
Expand Down