mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 11:49:23 +00:00
Port mce-cli to Java. Also moved off the avro format event file to json instead. Much nicer to use :)
8 lines
394 B
Docker
8 lines
394 B
Docker
FROM openjdk:8 as builder
|
|
COPY . datahub-src
|
|
RUN cd datahub-src && ./gradlew :metadata-ingestion-examples:mce-cli:build
|
|
|
|
FROM openjdk:8-jre-alpine
|
|
COPY --from=builder datahub-src/metadata-ingestion-examples/mce-cli/build/libs/mce-cli.jar ./
|
|
COPY --from=builder datahub-src/metadata-ingestion-examples/mce-cli/example-bootstrap.json ./
|
|
CMD java -jar mce-cli.jar -m produce example-bootstrap.json |