- See this doc for details: https://github.com/airbytehq/airbyte/blob/master/docs/contributing-to-airbyte/developing-locally.md - Unit test does not work yet.
16 lines
374 B
Docker
16 lines
374 B
Docker
ARG JDK_VERSION=14.0.2
|
|
FROM openjdk:${JDK_VERSION}-slim AS server
|
|
|
|
EXPOSE 8000
|
|
|
|
ENV APPLICATION airbyte-server
|
|
|
|
WORKDIR /app
|
|
|
|
COPY build/distributions/${APPLICATION}-0*.tar ${APPLICATION}.tar
|
|
|
|
RUN tar xf ${APPLICATION}.tar --strip-components=1
|
|
|
|
# wait for upstream dependencies to become available before starting server
|
|
ENTRYPOINT ["/bin/bash", "-c", "bin/${APPLICATION}"]
|