1
0
mirror of synced 2026-01-28 19:01:58 -05:00
Files
airbyte/airbyte-workers/Dockerfile
Octavia Squidington III e382a6e6db Bump Airbyte version from 0.40.12 to 0.40.13 (#17682)
Co-authored-by: xiaohansong <xiaohansong@users.noreply.github.com>
Co-authored-by: Xiaohan Song <xiaohan@airbyte.io>
2022-10-06 15:12:18 -07:00

26 lines
813 B
Docker

ARG JDK_VERSION=3.1
ARG JDK_IMAGE=airbyte/java-datadog-tracer-base:${JDK_VERSION}
FROM ${JDK_IMAGE} AS worker
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.13
ENV APPLICATION airbyte-workers
ENV VERSION ${VERSION}
WORKDIR /app
# Move worker app
ADD bin/${APPLICATION}-${VERSION}.tar /app
# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-${VERSION}/bin/${APPLICATION}"]