Skip to content

Commit d80a9f2

Browse files
authored
Merge pull request #23 from AckeeDevOps/feature/helper-functions
Add helper functions to an image
2 parents 2ade0b0 + cedb4ee commit d80a9f2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,11 @@ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.d
128128
&& apt-get install -y git-lfs \
129129
&& git lfs install
130130

131+
# add gitlab helper functions
132+
ENV GITLAB_CI_UTILS_VERSION 2.7.0
133+
RUN curl -o helper_functions.sh "https://raw.githubusercontent.com/AckeeDevOps/gitlab-ci-utils/$GITLAB_CI_UTILS_VERSION/scripts/helper_functions.sh" \
134+
&& curl -o android_ci_functions.sh "https://raw.githubusercontent.com/AckeeCZ/android-gitlab-ci-scripts/v1.0.0/android_ci_functions.sh" \
135+
&& echo "source helper_functions.sh" >> ~/.bashrc \
136+
&& echo "source android_ci_functions.sh" >> ~/.bashrc
137+
131138
VOLUME /root/.gradle

0 commit comments

Comments
 (0)