delete duplicates

This commit is contained in:
Vladislav Klimenko 2022-05-06 20:35:43 +03:00
parent a38506654b
commit 0a57412780
2 changed files with 0 additions and 30 deletions

View File

@ -1,5 +0,0 @@
FROM quay.io/strimzi/kafka:0.21.1-kafka-2.7.0
USER root:root
COPY deploy/libs /opt/kafka/libs/
COPY target/*.jar /opt/share/kafka/plugins/
USER 1001

View File

@ -1,25 +0,0 @@
#!/bin/bash
# Production docker image builder
set -e
# Source configuration
CUR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
SRC_ROOT="$(realpath "${CUR_DIR}/..")"
# Externally configurable build-dependent options
TAG="${TAG:-latest}"
DOCKER_IMAGE="local/altinity/clickhouse-kafka-sink-connector-strimzi:${TAG}"
# Externally configurable build-dependent options
DOCKERFILE_DIR="${SRC_ROOT}/docker"
DOCKERFILE="${DOCKERFILE_DIR}/Dockerfile_strimzi"
DOCKER_CMD="docker build -t ${DOCKER_IMAGE} -f ${DOCKERFILE} ${SRC_ROOT}"
if ${DOCKER_CMD}; then
echo "ALL DONE"
else
echo "FAILED"
exit 1
fi