From cedb4ee3f01ef50f5eb7ce1fcda34ee80bf7965e Mon Sep 17 00:00:00 2001 From: David Bilik Date: Thu, 29 Aug 2024 16:21:34 +0200 Subject: [PATCH] Add helper functions to an image --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index ef7e8e0..061bc41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -128,4 +128,11 @@ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.d && apt-get install -y git-lfs \ && git lfs install +# add gitlab helper functions +ENV GITLAB_CI_UTILS_VERSION 2.7.0 +RUN curl -o helper_functions.sh "https://raw.githubusercontent.com/AckeeDevOps/gitlab-ci-utils/$GITLAB_CI_UTILS_VERSION/scripts/helper_functions.sh" \ + && curl -o android_ci_functions.sh "https://raw.githubusercontent.com/AckeeCZ/android-gitlab-ci-scripts/v1.0.0/android_ci_functions.sh" \ + && echo "source helper_functions.sh" >> ~/.bashrc \ + && echo "source android_ci_functions.sh" >> ~/.bashrc + VOLUME /root/.gradle