Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Simplify dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssassi committed Jun 30, 2021
1 parent f3e59da commit 7c47853
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions Dockerfile
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" ]

0 comments on commit 7c47853

Please sign in to comment.