1
0
mirror of synced 2026-01-10 09:04:48 -05:00
Files
airbyte/airbyte-container-orchestrator/Dockerfile
2022-11-01 19:35:23 -07:00

26 lines
888 B
Docker

ARG JDK_IMAGE=airbyte/airbyte-base-java-image:1.0
FROM ${JDK_IMAGE} AS orchestrator
ARG DOCKER_BUILD_ARCH=amd64
RUN amazon-linux-extras install -y docker
RUN yum install -y jq tar && yum clean all
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${DOCKER_BUILD_ARCH}/kubectl" \
&& chmod +x kubectl && mv kubectl /usr/local/bin/
# Don't change this manually. Bump version expects to make moves based on this string
ARG VERSION=0.40.18
ENV APPLICATION airbyte-container-orchestrator
ENV VERSION=${VERSION}
ENV AIRBYTE_ENTRYPOINT "/app/${APPLICATION}-${VERSION}/bin/${APPLICATION}"
WORKDIR /app
# Move orchestrator app
ADD bin/${APPLICATION}-${VERSION}.tar /app
# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "/app/${APPLICATION}-${VERSION}/bin/${APPLICATION}"]