You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/06/07 11:28:25 UTC
[incubator-devlake] branch main updated (06344fa7 -> ff625d07)
This is an automated email from the ASF dual-hosted git repository.
warren pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
from 06344fa7 fix: add newline to end of file
new 0807765c chore: create alpine-dbt-mysql
new b513dd94 fix: add license
new ff625d07 chore: update lake builder
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Dockerfile | 10 +---------
.../alpine-dbt-mysql/Dockerfile | 19 ++++++++++---------
devops/alpine-dbt-mysql/README.md | 11 +++++++++++
devops/lake-builder/Dockerfile | 3 +--
4 files changed, 23 insertions(+), 20 deletions(-)
copy scripts/export-env.sh => devops/alpine-dbt-mysql/Dockerfile (65%)
mode change 100755 => 100644
create mode 100644 devops/alpine-dbt-mysql/README.md
[incubator-devlake] 02/03: fix: add license
Posted by wa...@apache.org.
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
commit b513dd9475bfbb041deffe61a3ec339567807dd0
Author: cong.wang <co...@merico.dev>
AuthorDate: Tue Jun 7 15:18:29 2022 +0800
fix: add license
---
devops/alpine-dbt-mysql/Dockerfile | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/devops/alpine-dbt-mysql/Dockerfile b/devops/alpine-dbt-mysql/Dockerfile
index f827093c..554979ae 100644
--- a/devops/alpine-dbt-mysql/Dockerfile
+++ b/devops/alpine-dbt-mysql/Dockerfile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# current tag: mericodev/alpine-dbt-mysql: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
[incubator-devlake] 03/03: chore: update lake builder
Posted by wa...@apache.org.
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
commit ff625d075f2acba928a4d2f1ac31c5ed1e973a60
Author: cong.wang <co...@merico.dev>
AuthorDate: Tue Jun 7 15:54:14 2022 +0800
chore: update lake builder
add tar
---
devops/lake-builder/Dockerfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/devops/lake-builder/Dockerfile b/devops/lake-builder/Dockerfile
index f0ad69ec..05ec5f78 100644
--- a/devops/lake-builder/Dockerfile
+++ b/devops/lake-builder/Dockerfile
@@ -20,5 +20,4 @@ FROM golang:1.17-alpine3.15 as builder
RUN apk update
RUN apk upgrade
#RUN apk add --update gcc=130.2.1_pre1-r3 g++=10.2.1_pre1-r3
-RUN apk add --no-cache tzdata libgit2-dev gcc g++ make
-RUN apk add --no-cache tar
\ No newline at end of file
+RUN apk add --no-cache tzdata libgit2-dev gcc g++ make tar
[incubator-devlake] 01/03: chore: create alpine-dbt-mysql
Posted by wa...@apache.org.
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
commit 0807765c0841abea9dd0985ed6d5adeb94812493
Author: cong.wang <co...@merico.dev>
AuthorDate: Tue Jun 7 14:50:09 2022 +0800
chore: create alpine-dbt-mysql
preinstall python and dbt-mysql in mericodev/alpine-dbt-mysql image.
to prevent install it every time we release lake
fix #1692
---
Dockerfile | 10 +---------
devops/alpine-dbt-mysql/Dockerfile | 10 ++++++++++
devops/alpine-dbt-mysql/README.md | 11 +++++++++++
3 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 36666fb0..6b59f04a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,15 +27,7 @@ ENV GOBIN=/app/bin
RUN make clean && make all
-FROM --platform=linux/amd64 alpine:3.15
-RUN apk add --no-cache musl-dev libgit2-dev libffi-dev \
- && apk add --no-cache gcc
-
-ENV PYTHONUNBUFFERED=1
-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
+FROM --platform=linux/amd64 mericodev/alpine-dbt-mysql:0.0.1
EXPOSE 8080
diff --git a/devops/alpine-dbt-mysql/Dockerfile b/devops/alpine-dbt-mysql/Dockerfile
new file mode 100644
index 00000000..f827093c
--- /dev/null
+++ b/devops/alpine-dbt-mysql/Dockerfile
@@ -0,0 +1,10 @@
+FROM --platform=linux/amd64 alpine:3.15
+RUN apk add --no-cache musl-dev libgit2-dev libffi-dev \
+ && apk add --no-cache gcc
+
+ENV PYTHONUNBUFFERED=1
+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 apk add --no-cache tar
diff --git a/devops/alpine-dbt-mysql/README.md b/devops/alpine-dbt-mysql/README.md
new file mode 100644
index 00000000..d0f92e5f
--- /dev/null
+++ b/devops/alpine-dbt-mysql/README.md
@@ -0,0 +1,11 @@
+# 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
+```