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

klesh pushed a commit to branch kw-gitcli-image-not-working
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 3441707b5bd3278aad76a0cd119b947fcc26c110
Author: Klesh Wong <[email protected]>
AuthorDate: Mon Apr 8 12:09:16 2024 +0800

    fix: git command doesn't exist in the docker image
---
 backend/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend/Dockerfile b/backend/Dockerfile
index 2337b72d0..c804fe36e 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -40,7 +40,7 @@ ARG HTTP_PROXY=
 ARG HTTPS_PROXY=
 
 RUN apt-get update
-RUN apt-get install -y gcc binutils libfindbin-libs-perl cmake libssh2-1-dev 
libssl-dev zlib1g-dev git openssh-client corkscrew
+RUN apt-get install -y gcc binutils libfindbin-libs-perl cmake libssh2-1-dev 
libssl-dev zlib1g-dev
 
 RUN if [ "$(arch)" != "aarch64" ] ; then \
         apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu ; \
@@ -116,7 +116,7 @@ RUN cd /usr/local/deps/target/lib && \
 FROM python:3.9-slim-bullseye as base
 
 RUN apt-get update && \
-    apt-get install -y python3-dev python3-pip tar pkg-config curl libssh2-1 
zlib1g libffi-dev default-libmysqlclient-dev libpq-dev tini && \
+    apt-get install -y python3-dev python3-pip tar pkg-config curl libssh2-1 
zlib1g libffi-dev default-libmysqlclient-dev libpq-dev tini git openssh-client 
corkscrew && \
     apt-get clean && \
     rm -fr /usr/share/doc/* \
            /usr/share/info/* \

Reply via email to