Skip to content

waleednegm/GoViolin-Pipeline

Repository files navigation

GoViolin_Pipeline

Table of Contents
  1. Writing Dockerfile
  2. Build The DockerImage Locally
  3. Run The Container
  4. Access The Website
  5. Creating Pipeline Job
  6. Creating DockerHub Repository
  7. Creating Jenkinsfile And Test It
  8. Reporting Using Email Notification

Writing Dockerfile

FROM golang:1.16-alpine
WORKDIR /GoViolin_app
COPY . .
RUN go mod init goviolin_app
RUN go build -o /goviolin_app
EXPOSE 8080
CMD [ "/goviolin_app" ]

Build The DockerImage Locally

docker build -t walednegm/gov:1.0 .

alt text

Run The Container

  • using docker run
docker run -p 8080:8080 walednegm/gov:1.0
  • using docker-compose
docker-compose -f compose.yml up

Access The Website Using

http://127.0.0.1:8080/

Creating Pipeline Job

alt text

Creating DockerHub Repository

alt text

Creating Jenkinsfile And Test It

alt text alt text

Reporting Using Email Notification

alt text alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published