Hello! Please let me know if this is the wrong category for this post.
We use some in-house plugins for our Jira Data Center instance, and we run the builds for them inside Docker. The Dockerfile whose contents are below, has worked for a while, but suddenly stopped in the last few weeks. It’s failing when it calls apt-get install --yes atlassian-plugin-sdk
. Did Atlassian stop publishing a package at https://packages.atlassian.com/atlassian-sdk-deb?
I don’t see any documentation that mentions installation with apt-get, only this Install the Atlassian SDK on a Linux or Mac system page, which says to install by downloading and extracting an archive. Is that now the only supported installation method for Linux?
If that is the only supported method now, I have two more questions
- How should I modify the Dockerfile to install via TGZ extraction? Extract to /opt/atlassian-plugin-sdk and add that to PATH?
- Is there any way to see what versions are available? The apt-get installation method would always get the latest SDK to build against, but the current installation instructions include a predetermined version number.
FROM adoptopenjdk/openjdk8
copy . /opt/throwaway
RUN apt-get update \
&& apt-get install wget \
&& apt-get install -y gnupg
RUN echo "deb https://packages.atlassian.com/atlassian-sdk-deb stable contrib" >>/etc/apt/sources.list \
&& wget https://packages.atlassian.com/api/gpg/key/public \
&& apt-key add public \
&& apt-get update \
&& apt-get install --yes atlassian-plugin-sdk \
&& mkdir /opt/atlas \
&& cd /opt/atlas
RUN cd /opt/throwaway && \
atlas-mvn package && \
cd / && rm -rf /opt/throwaway
I opened a ticket with the support team (PSSRV-138786), who suggested I ask the question here.