2022-11-14 22:44:11 +03:00
|
|
|
FROM epicmorg/gitlab-runner:latest
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# teamcity atlassian-sdk setup
|
|
|
|
##################################################################
|
|
|
|
|
|
|
|
#Install packages
|
|
|
|
#RUN curl -SL https://packages.atlassian.com/atlassian-sdk-deb/debian/pool/contrib/a/atlassian-plugin-sdk/atlassian-plugin-sdk_8.0.16_all.deb -o /tmp/atlassian-plugin-sdk.deb && \
|
|
|
|
# dpkg -i /tmp/atlassian-plugin-sdk.deb
|
|
|
|
|
|
|
|
###############################
|
|
|
|
# https://community.atlassian.com/t5/Continuous-Delivery-questions/The-repository-https-packages-atlassian-com-atlassian-sdk-deb/qaq-p/1334014
|
|
|
|
#
|
|
|
|
# https://community.developer.atlassian.com/t/the-repository-https-packages-atlassian-com-atlassian-sdk-deb-stable-release-is-not-signed/36901
|
|
|
|
###############################
|
2024-12-05 18:24:33 +03:00
|
|
|
COPY etc/apt/keyrings/atlassian.asc /etc/apt/keyrings/
|
|
|
|
COPY etc/apt/sources.list.d/atlassian-sdk.list /etc/apt/sources.list.d/
|
|
|
|
RUN apt-get update --allow-insecure-repositories && \
|
2024-07-18 16:29:06 +03:00
|
|
|
apt-get install -y --no-install-recommends --allow-unauthenticated \
|
2022-11-14 22:44:11 +03:00
|
|
|
atlassian-plugin-sdk
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# cleaninig up
|
|
|
|
##################################################################
|
|
|
|
RUN apt clean -y && \
|
|
|
|
apt-get clean all && \
|
|
|
|
apt autoclean -y && \
|
|
|
|
rm -rfv /var/lib/apt/lists/* && \
|
2024-12-10 01:21:19 +03:00
|
|
|
rm -rfv /var/cache/apt/* && \
|
2024-12-10 01:08:00 +03:00
|
|
|
rm -rfv /root/tmp/* && \
|
2022-11-14 22:44:11 +03:00
|
|
|
rm -rfv /tmp/*
|
2024-12-05 18:24:33 +03:00
|
|
|
|
|
|
|
RUN updatedb
|