bbuddy-ui/Dockerfile.test

13 lines
767 B
Docker
Raw Normal View History

2024-01-09 16:16:07 +00:00
FROM jenkins/inbound-agent
USER root
RUN apt-get update ;\
apt-get -y install npm procps wget sudo git apt-transport-https ca-certificates curl gnupg2 software-properties-common ;\
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg ;\
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" |tee /etc/apt/sources.list.d/docker.list > /dev/null ;\
apt-get -y update ;\
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose
RUN sudo curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && sudo apt install nodejs -y
USER jenkins