I’m currently working on a Dockerfile locally and basing the image on ubuntu 20.04.
I have some of the standard stuff for installing apt and pip packages set up, but I’m wondering if there’s a way to install a tool from github using the latest available nightly build, ie. from the latest linux.tgz file here
# Use the official image as a parent image FROM ubuntu:20.04 # Add Jenkins as a user with sufficient permissions RUN mkdir /home/jenkins RUN groupadd -g 136 jenkins RUN useradd -r -u 126 -g jenkins -G plugdev -d /home/jenkins jenkins RUN chown jenkins:jenkins /home/jenkins WORKDIR /home/jenkins CMD ["/bin/bash"] ENV DEBIAN_FRONTEND=noninteractive # Install prerequisites RUN apt-get update && apt-get install -y \ lots_of_packages ... && rm -rf /var/lib/apt/lists/* RUN pip3 install --user --upgrade poetry etc. etc. RUN **(this is where I would like to install the tools from github using their latest nightly build)** RUN export USER jenkins EXPOSE 8080 COPY . .