-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
21 lines (16 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the Egeria project
# This is the EGERIA version - typically passed from the ci/cd pipeline
ARG EGERIA_BASE_IMAGE=quay.io/odpi/egeria
ARG EGERIA_VERSION=latest
# Must be set to help get the right files for the connextors
FROM ${EGERIA_BASE_IMAGE}:${EGERIA_VERSION}
ARG CONNECTOR_VERSION=0.1-SNAPSHOT
# Labels from https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys (with additions prefixed ext)
# We should inherit all the base labels from the egeria image and only overwrite what is necessary.
LABEL org.opencontainers.image.description = "Egeria with Strimzi connector" \
org.opencontainers.image.documentation = "https://github.com/odpi/egeria-connector-hivemetastore"
ENV CONNECTOR_VERSION ${CONNECTOR_VERSION}
# We need both the hive connector, and the OMRS caching connector
COPY build/libs/egeria-connector-hivemetastore-${CONNECTOR_VERSION}-jar-with-dependencies.jar /deployments/server/lib
COPY build/libs/egeria-connector-hivemetastore-${CONNECTOR_VERSION}-jar-with-dependencies.jar /deployments/server/lib