mirror of
https://github.com/datahub-project/datahub.git
synced 2026-01-04 13:53:36 +00:00
27 lines
658 B
Docker
27 lines
658 B
Docker
FROM acryldata/datahub-ingestion-base as base
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
sudo \
|
|
python3-dev \
|
|
libgtk2.0-0 \
|
|
libgtk-3-0 \
|
|
libgbm-dev \
|
|
libnotify-dev \
|
|
libgconf-2-4 \
|
|
libnss3 \
|
|
libxss1 \
|
|
libasound2 \
|
|
libxtst6 \
|
|
xauth \
|
|
xvfb
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-11-jdk
|
|
|
|
COPY . /datahub-src
|
|
ARG RELEASE_VERSION
|
|
RUN cd /datahub-src/metadata-ingestion && \
|
|
sed -i.bak "s/__version__ = \"0.0.0.dev0\"/__version__ = \"$RELEASE_VERSION\"/" src/datahub/__init__.py && \
|
|
cat src/datahub/__init__.py && \
|
|
cd ../ && \
|
|
./gradlew :metadata-ingestion:installAll
|