Co-authored-by: xiaohansong <xiaohansong@users.noreply.github.com> Co-authored-by: Xiaohan Song <xiaohan@airbyte.io>
19 lines
441 B
Docker
19 lines
441 B
Docker
ARG JDK_VERSION=17.0.4
|
|
ARG JDK_IMAGE=amazoncorretto:${JDK_VERSION}
|
|
FROM ${JDK_IMAGE} AS server
|
|
|
|
EXPOSE 8000
|
|
|
|
ARG VERSION=0.40.13
|
|
|
|
ENV APPLICATION airbyte-server
|
|
ENV VERSION ${VERSION}
|
|
|
|
WORKDIR /app
|
|
|
|
# This is automatically unzipped by Docker
|
|
ADD bin/${APPLICATION}-${VERSION}.tar /app
|
|
|
|
# wait for upstream dependencies to become available before starting server
|
|
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-${VERSION}/bin/${APPLICATION}"]
|