diff --git a/jenkins/subir-Dockerfile b/jenkins/subir-Dockerfile index 98e38b2..af2ed8b 100644 --- a/jenkins/subir-Dockerfile +++ b/jenkins/subir-Dockerfile @@ -57,6 +57,30 @@ pipeline { } } } + stage('Instalar Docker') { + steps { + script { + echo "Instalando Docker..." + sh ''' + # Add Docker's official GPG key: + apt-get update + apt-get install -y ca-certificates curl + install -m 0755 -d /etc/apt/keyrings + curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc + chmod a+r /etc/apt/keyrings/docker.asc + + # Add the repository to Apt sources: + echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \ + $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ + tee /etc/apt/sources.list.d/docker.list > /dev/null + apt-get update + + apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin + ''' + } + } + } stage('Instalar Herramientas') { steps { sh """ diff --git a/src/plantilla/Navegacion.js b/src/plantilla/Navegacion.js index 4867021..d65c13e 100644 --- a/src/plantilla/Navegacion.js +++ b/src/plantilla/Navegacion.js @@ -6,7 +6,7 @@ export default function Navegacion() {