22 lines
816 B
Plaintext
22 lines
816 B
Plaintext
ARG ERLANG_VERSION
|
|
|
|
FROM eu.gcr.io/cf-rabbitmq-core/erlang_elixir:${ERLANG_VERSION}
|
|
|
|
ENV ERLANG_VERSION=${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} |