This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new a70a1d89 fix: dbt can not work in postgres
a70a1d89 is described below

commit a70a1d8927b6c84db568081e2afacac9c2257574
Author: abeizn <[email protected]>
AuthorDate: Thu Aug 25 15:46:35 2022 +0800

    fix: dbt can not work in postgres
---
 devops/alpine-dbt-mysql/README.md                  | 11 -----------
 devops/{alpine-dbt-mysql => alpine-dbt}/Dockerfile |  3 ++-
 devops/alpine-dbt/README.md                        | 11 +++++++++++
 3 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/devops/alpine-dbt-mysql/README.md 
b/devops/alpine-dbt-mysql/README.md
deleted file mode 100644
index d0f92e5f..00000000
--- a/devops/alpine-dbt-mysql/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# alpine-dbt-mysql
-alpine linux image with dbt-mysql installed
-
-https://hub.docker.com/r/mericodev/alpine-dbt-mysql
-
-## release
-```shell
-export VERSION=0.0.1
-docker build -t mericodev/alpine-dbt-mysql:$VERSION .
-docker push mericodev/alpine-dbt-mysql:$VERSION
-```
diff --git a/devops/alpine-dbt-mysql/Dockerfile b/devops/alpine-dbt/Dockerfile
similarity index 94%
rename from devops/alpine-dbt-mysql/Dockerfile
rename to devops/alpine-dbt/Dockerfile
index 554979ae..0f8a773c 100644
--- a/devops/alpine-dbt-mysql/Dockerfile
+++ b/devops/alpine-dbt/Dockerfile
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-# current tag: mericodev/alpine-dbt-mysql:0.0.1
+# current tag: mericodev/alpine-dbt:0.0.1
 FROM --platform=linux/amd64 alpine:3.15
 RUN apk add --no-cache musl-dev libgit2-dev libffi-dev \
     && apk add --no-cache gcc
@@ -24,4 +24,5 @@ RUN apk add --update --no-cache python3-dev && ln -sf python3 
/usr/bin/python
 RUN python3 -m ensurepip
 RUN pip3 install --no-cache --upgrade pip setuptools
 RUN pip3 install dbt-mysql
+RUN pip3 install dbt-postgres
 RUN apk add --no-cache tar
diff --git a/devops/alpine-dbt/README.md b/devops/alpine-dbt/README.md
new file mode 100644
index 00000000..ee5cd983
--- /dev/null
+++ b/devops/alpine-dbt/README.md
@@ -0,0 +1,11 @@
+# alpine-dbt
+alpine linux image with dbt installed
+
+https://hub.docker.com/r/mericodev/alpine-dbt
+
+## release
+```shell
+export VERSION=0.0.1
+docker build -t mericodev/alpine-dbt:$VERSION .
+docker push mericodev/alpine-dbt:$VERSION
+```

Reply via email to