This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,4 @@ | ||
ARG BASE_IMAGE="python:3.8-slim-buster" | ||
|
||
FROM $BASE_IMAGE | ||
ARG DIST_PATH | ||
|
||
RUN printf "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/backports_git.list && \ | ||
apt-get update \ | ||
&& apt-get dist-upgrade -y \ | ||
&& apt-get install -y --no-install-recommends \ | ||
git-man/buster-backports \ | ||
git/buster-backports \ | ||
ssh-client \ | ||
software-properties-common \ | ||
make \ | ||
build-essential \ | ||
ca-certificates \ | ||
libpq-dev \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# Install dbt and dbt-coves | ||
RUN pip install -U pip && \ | ||
pip install dbt-coves==0.19.1-a.8 | ||
|
||
ENV PYTHONIOENCODING=utf-8 | ||
ENV LANG C.UTF-8 | ||
WORKDIR /usr/app | ||
VOLUME /usr/app | ||
FROM datacoves/dbt-coves | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT [ "/entrypoint.sh" ] |