2024-01-09 17:28:15 +00:00
|
|
|
FROM jenkins/inbound-agent
|
2024-01-02 18:51:59 +00:00
|
|
|
|
2024-01-09 17:28:15 +00:00
|
|
|
USER root
|
|
|
|
|
|
|
|
RUN apt-get update ;\
|
|
|
|
apt-get -y install lsb-release procps wget sudo git apt-transport-https ca-certificates curl gnupg2 software-properties-common
|
|
|
|
|
|
|
|
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg ;\
|
|
|
|
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bookworm stable" | sudo tee /etc/apt/sources.list.d/docker.list ;\
|
|
|
|
apt-get update ;\
|
|
|
|
apt-get -y install docker-ce docker-ce-cli docker-ce-rootless-extras docker-buildx-plugin
|
|
|
|
|
|
|
|
RUN sudo curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh ;\
|
|
|
|
sudo bash nodesource_setup.sh ;\
|
|
|
|
apt-get -y install nodejs
|
|
|
|
USER jenkins
|