Skip to content

tiagomar/cesar-school-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devops Pipeline

Running Jenkins and GitLab

Jenkins image

Jenkins Dockerfile content:

FROM jenkins/jenkins:lts
USER root
RUN apt-get update \
	&& apt-get install -y sudo \
	&& rm -rf /var/lib/apt/lists/*
RUN echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers
USER jenkins

Build Jenkins image:

docker build --tag jenkins-devops:latest ./jenkins/

Run the services:

docker-compose up -d

Installing dependeces:

npm install

Running the application locally:

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published