2024-01-07 23:43:55 +01:00
|
|
|
ARG BBB_BUILD_TAG
|
2024-11-24 16:07:48 +01:00
|
|
|
ARG GRAPHQL_ENGINE_TAG
|
2024-01-07 23:43:55 +01:00
|
|
|
FROM bigbluebutton/bbb-build:$BBB_BUILD_TAG AS builder
|
|
|
|
|
2024-11-24 16:07:48 +01:00
|
|
|
RUN curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | INSTALL_PATH=/usr/local/bin VERSION=v2.44.0 bash
|
2024-01-07 23:43:55 +01:00
|
|
|
RUN wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 && chmod a+x /usr/local/bin/yq
|
|
|
|
|
|
|
|
# ----------------------------
|
2024-11-24 16:07:48 +01:00
|
|
|
FROM hasura/graphql-engine:$GRAPHQL_ENGINE_TAG
|
2024-01-07 23:43:55 +01:00
|
|
|
|
2024-11-24 16:07:48 +01:00
|
|
|
# install netstat, required for start script
|
2024-01-07 23:43:55 +01:00
|
|
|
RUN apt-get update && apt-get install -y net-tools gosu
|
|
|
|
|
|
|
|
COPY --from=builder /usr/local/bin/yq /usr/local/bin/yq
|
2024-11-24 16:07:48 +01:00
|
|
|
COPY --from=builder /usr/local/bin/hasura /usr/local/bin/hasura
|
2024-01-07 23:43:55 +01:00
|
|
|
|
|
|
|
COPY --from=src /bbb_schema.sql /app/
|
|
|
|
COPY --from=src /metadata /app/metadata
|
|
|
|
|
|
|
|
COPY config.yaml /app/config.yaml
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
COPY start.sh /app/start.sh
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
|
|
CMD [ "/app/start.sh" ]
|