You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by em...@apache.org on 2022/04/11 05:29:55 UTC

[incubator-age] branch master updated: chore: (Docker) Removing upstream clone and unneeded dependencies (#205)

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

emotionbug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git


The following commit(s) were added to refs/heads/master by this push:
     new 10bfd02  chore: (Docker) Removing upstream clone and unneeded dependencies (#205)
10bfd02 is described below

commit 10bfd02f6c57010afb18677ab3cd9fc6a7cc394a
Author: Nick Sorrell <ni...@gmail.com>
AuthorDate: Mon Apr 11 01:29:50 2022 -0400

    chore: (Docker) Removing upstream clone and unneeded dependencies (#205)
    
    Currently, Dockerfile always cloning repository with master branch.
    so, it always build of master. and, difficult to configure a proper
    Docker CD environment
    
    Therefore, makes to build Dockerfile by copying current directories
    without doing clone. according to this change, remove unneeded
    dependencies.
---
 Dockerfile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index d1c04a5..d0b449a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,13 +23,10 @@ RUN apt-get update
 RUN apt-get install --assume-yes --no-install-recommends --no-install-suggests \
   bison \
   build-essential \
-  ca-certificates \
   flex \
-  git \
-  postgresql-plpython3-11 \
   postgresql-server-dev-11 
 
-RUN git clone https://github.com/apache/incubator-age /age 
+COPY . /age 
 RUN cd /age && make install 
 
 COPY docker-entrypoint-initdb.d/00-create-extension-age.sql /docker-entrypoint-initdb.d/00-create-extension-age.sql