summaryrefslogtreecommitdiff
path: root/ci/dockerfiles/ci-base
blob: 0eb4624030e3eb3ac73b7c03ef7e764c9f7eba80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ARG ERLANG_VERSION

FROM eu.gcr.io/cf-rabbitmq-core/erlang_elixir:${ERLANG_VERSION}

RUN apt-get update && apt-get install -y rsync zip

RUN curl -L -o buildevents https://github.com/honeycombio/buildevents/releases/latest/download/buildevents-linux-amd64
RUN chmod 755 buildevents
RUN mv buildevents /usr/bin/

WORKDIR /workspace

COPY ci/scripts/fetch_secondary_umbrellas.sh .

# If we clone the monorepo at a ref when the monorepo was still rabbitmq-server,
# then we just get rabbitmq-server (not the monorepo as it would have looked, had
# it existed at that time). So for the time being, secondary umbrellas will derive
# from rabbitmq-public-umbrella (as they always have)
ARG SECONDARY_UMBRELLA_GITREFS
RUN bash fetch_secondary_umbrellas.sh ${SECONDARY_UMBRELLA_GITREFS}