diff --git a/metadata-ingestion/docker/Dockerfile b/metadata-ingestion/docker/Dockerfile deleted file mode 100644 index e3bd98ff21..0000000000 --- a/metadata-ingestion/docker/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -#FROM openjdk:8-jre-alpine as base -FROM python:3.7-slim AS base - -#Setup env -ENV LANG C.UTF-8 -ENV LC_ALL C.UTF-8 -ENV PYTHONDONTWRITEBYTECODE 1 -ENV PYTHONFAULTHANDLER 1 - -ENV DOCKERIZE_VERSION v0.6.1 - -FROM base AS python-deps - - -# Install pipenv and compilation dependencies -RUN apt-get update && apt-get install -y --no-install-recommends gcc - -#RUN apk --no-cache add curl tar \ -# && curl -L https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz | tar -C /usr/local/bin -xzv - -# Workaround alpine issue with /lib64 not being in the ld library path -# https://gitlab.alpinelinux.org/alpine/aports/-/issues/10140 -#ENV LD_LIBRARY_PATH=/lib64 - -# Add glibc compat layer into alpine linux, needed by java-snappy if kafka topics are compressed with snappy -#RUN apk add libc6-compat - -#FROM openjdk:8 as prod-build - - -# Copy virtual env from python-deps stage - -COPY . /datahub-ingest -WORKDIR /datahub-ingest -RUN pip install -e . - -#RUN apt-get install -y telnet vim - - -#FROM ${APP_ENV}-install as final - -RUN useradd --create-home datahub -USER datahub -#RUN addgroup -S datahub && adduser -S datahub -G datahub -#USER datahub - -#EXPOSE PORT_NUM -ENTRYPOINT ["datahub"] diff --git a/metadata-ingestion/docker/docker_build.sh b/metadata-ingestion/docker/docker_build.sh deleted file mode 100644 index 4740454321..0000000000 --- a/metadata-ingestion/docker/docker_build.sh +++ /dev/null @@ -1,2 +0,0 @@ -# A convenience script to build a docker file locally -docker build -f docker/Dockerfile --tag local/dhub-ingest . diff --git a/metadata-ingestion/docker/docker_run.sh b/metadata-ingestion/docker/docker_run.sh deleted file mode 100644 index c33ad72428..0000000000 --- a/metadata-ingestion/docker/docker_run.sh +++ /dev/null @@ -1,12 +0,0 @@ -# A convenience command to run the built docker container with a local config file and local output directory -config_file=$1 -echo "Config file is" $config_file -local_dir=$(dirname $config_file) -filename=$(basename $config_file) -output_dir=$(mktemp -d /tmp/ingest.XXXXXX) -echo "Output directory is" $output_dir -docker run --rm --network host \ - --mount type=bind,source="$(pwd)"/$local_dir,target=/injected_dir \ - --mount type=bind,source=$output_dir,target=/output \ - local/dhub-ingest:latest \ - ingest -c /injected_dir/${filename}