From 94605960bb64d853f7ea729cc4ecab015330d158 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 1 Feb 2021 15:32:08 +0530
Subject: [PATCH 01/30] added one file
---
Jenkinsfile | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Jenkinsfile
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..6df5d6d
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,33 @@
+pipeline {
+ environment {
+ registry = 'saurabhgore65/app-image'
+ registryCredential = 'sagoredockerid'
+ dockerImage = ''
+}
+ agent any
+stages {
+ stage('Cloning Git') {
+ steps{
+ git 'https://github.com/saurabhgore-code/SimplilearnProject.git'
+ }
+ }
+ stage('Building Image') {
+ steps{
+ script{
+ dockerImage = docker.build registry + ":$BUILD_NUMBER"
+ }
+ }
+ }
+ stage('Deploy Image') {
+ steps{
+ script{
+ docker.withRegistry( '', registryCredential ) {
+ dockerImage.push()
+ }
+ }
+ }
+
+ }
+
+ }
+}
From c1f69eddcf75aa2255ada2087151cc01a7d4681a Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 1 Feb 2021 15:36:06 +0530
Subject: [PATCH 02/30] added one file
---
Dockerfile | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 Dockerfile
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..58a6a74
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+FROM centos
+RUN yum update -y
+RUN yum install httpd -y
+CMD /var/www/html
+CMD echo "this is a sample webpage" >> index.html
+CMD ["/usr/sbin/httpd","-D","FOREGROUND"]
From 24c83ea6686bc9ad36db057a46234d760b122e41 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 1 Feb 2021 15:37:02 +0530
Subject: [PATCH 03/30] added one file
---
index.html | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 index.html
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..d4b6f34
--- /dev/null
+++ b/index.html
@@ -0,0 +1,7 @@
+
+This is my webpage created through Dockerfile for the Simplilearn Project
+
+My name is sagore
+i am finding it really interesting. I am going to give my best in this project
+
+
From 29085e518ee6efcc83ac0d69b5081903adaeb5f1 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 1 Feb 2021 15:42:03 +0530
Subject: [PATCH 04/30] modified one file
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 6df5d6d..9b8226e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -8,7 +8,7 @@ pipeline {
stages {
stage('Cloning Git') {
steps{
- git 'https://github.com/saurabhgore-code/SimplilearnProject.git'
+ git 'https://github.com/saurabhgore-code/docker-website.git'
}
}
stage('Building Image') {
From 72dc16258ddbc8b30303f31c55f8d3d01bde23a3 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 1 Feb 2021 16:45:13 +0530
Subject: [PATCH 05/30] deleted one directory
---
lab2-docker-compose/README.md | 85 -------------------
lab2-docker-compose/notes.txt | 10 ---
.../wordpress/docker-compose.yml | 22 -----
3 files changed, 117 deletions(-)
delete mode 100644 lab2-docker-compose/README.md
delete mode 100644 lab2-docker-compose/notes.txt
delete mode 100644 lab2-docker-compose/wordpress/docker-compose.yml
diff --git a/lab2-docker-compose/README.md b/lab2-docker-compose/README.md
deleted file mode 100644
index 99a359e..0000000
--- a/lab2-docker-compose/README.md
+++ /dev/null
@@ -1,85 +0,0 @@
-1. Install Docker Compose:
-
- sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker- compose
-
- sudo chmod +x /usr/local/bin/docker-compose
-
- docker-compose --version
-
-2. Install WordPress: We’ll be using the official WordPress and MariaDB Docker images.
-
- mkdir wordpress
-
- cd wordpress/
-
- sudo vi docker-compose.yml (contents below)
-
-3. Install MariaDB: It is one of the most popular database servers in the world. It’s made by the original developers of MySQL.
- MariaDB is developed as open source software and as a relational database it provides an SQL interface for
- accessing data.
-
-4. Install PhpMyAdmin: It is a free software tool written in PHP, intended to handle the administration of MySQL over the Web.
-
-5. Create The WordPress Site:
-
-##############################################
-
-#sudo vi docker-compose.yml
-
-wordpress:
-
- image: wordpress
-
- links:
-
- - wordpress_db:mysql
-
- ports:
-
- - 8080:80
-
-
-wordpress_db:
-
- image: mariadb
-
- environment:
-
- MYSQL_ROOT_PASSWORD: test
-
-
-phpmyadmin:
-
- image: corbinu/docker-phpmyadmin
-
- links:
-
- - wordpress_db:mysql
-
- ports:
-
- - 8181:80
-
- environment:
-
- MYSQL_USERNAME: root
-
- MYSQL_ROOT_PASSWORD: test
-
-
-#####################################################
-
-6. Now start the application group:
-
- docker-compose up -d
-
-7. Now, in the browser go to port 8080, using your public IP or host name, as shown below:
-
- localhost:8080 # Fill this form and click on install WordPress.
-
-
-8. Now visit your server’s IP address again to port 8181 this time. You’ll be greeted by the phpMyAdmin login screen:
-
- localhost:8181
-
-
diff --git a/lab2-docker-compose/notes.txt b/lab2-docker-compose/notes.txt
deleted file mode 100644
index 9a6068e..0000000
--- a/lab2-docker-compose/notes.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-docker-compose up -d
-
-docker ps
-
-# access php admin at 192.168.56.101:8181
-access db at 192.168.56.101:8080 # if error then exit VM and login again.
-
-# create account in wordpress at 192.168.56.101:8080 and it will be reflected in php.
-Update wordpress post by php admin and verify in wordpress at 192.168.56.101:8080
-
diff --git a/lab2-docker-compose/wordpress/docker-compose.yml b/lab2-docker-compose/wordpress/docker-compose.yml
deleted file mode 100644
index 4252bed..0000000
--- a/lab2-docker-compose/wordpress/docker-compose.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-wordpress:
- image: wordpress
- links:
- - wordpress_db:mysql
- ports:
- - 8182:80
-
-wordpress_db:
- image: mariadb
- environment:
- MYSQL_ROOT_PASSWORD: test
-
-phpmyadmin:
- image: corbinu/docker-phpmyadmin
- links:
- - wordpress_db:mysql
- ports:
- - 8181:80
- environment:
- MYSQL_USERNAME: root
- MYSQL_ROOT_PASSWORD: test
-
From 7a196d25c7bade9f5cc5619fd296c4e0bdd553b0 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 1 Feb 2021 16:45:43 +0530
Subject: [PATCH 06/30] deleted one more directory
---
lab1-dockerfile/static-site/Dockerfile | 9 -
.../static-site/html/css/normalize.css | 427 ------------------
.../static-site/html/css/skeleton.css | 418 -----------------
.../static-site/html/images/favicon.png | Bin 1156 -> 0 bytes
lab1-dockerfile/static-site/html/index.html | 46 --
lab1-dockerfile/static-site/wrapper.sh | 5 -
6 files changed, 905 deletions(-)
delete mode 100644 lab1-dockerfile/static-site/Dockerfile
delete mode 100644 lab1-dockerfile/static-site/html/css/normalize.css
delete mode 100644 lab1-dockerfile/static-site/html/css/skeleton.css
delete mode 100644 lab1-dockerfile/static-site/html/images/favicon.png
delete mode 100644 lab1-dockerfile/static-site/html/index.html
delete mode 100644 lab1-dockerfile/static-site/wrapper.sh
diff --git a/lab1-dockerfile/static-site/Dockerfile b/lab1-dockerfile/static-site/Dockerfile
deleted file mode 100644
index 346fa91..0000000
--- a/lab1-dockerfile/static-site/Dockerfile
+++ /dev/null
@@ -1,9 +0,0 @@
-FROM nginx
-
-COPY wrapper.sh /
-
-COPY html /usr/share/nginx/html
-
-RUN chmod +x wrapper.sh
-
-ENTRYPOINT ["/wrapper.sh"]
diff --git a/lab1-dockerfile/static-site/html/css/normalize.css b/lab1-dockerfile/static-site/html/css/normalize.css
deleted file mode 100644
index 81c6f31..0000000
--- a/lab1-dockerfile/static-site/html/css/normalize.css
+++ /dev/null
@@ -1,427 +0,0 @@
-/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
-
-/**
- * 1. Set default font family to sans-serif.
- * 2. Prevent iOS text size adjust after orientation change, without disabling
- * user zoom.
- */
-
-html {
- font-family: sans-serif; /* 1 */
- -ms-text-size-adjust: 100%; /* 2 */
- -webkit-text-size-adjust: 100%; /* 2 */
-}
-
-/**
- * Remove default margin.
- */
-
-body {
- margin: 0;
-}
-
-/* HTML5 display definitions
- ========================================================================== */
-
-/**
- * Correct `block` display not defined for any HTML5 element in IE 8/9.
- * Correct `block` display not defined for `details` or `summary` in IE 10/11
- * and Firefox.
- * Correct `block` display not defined for `main` in IE 11.
- */
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-main,
-menu,
-nav,
-section,
-summary {
- display: block;
-}
-
-/**
- * 1. Correct `inline-block` display not defined in IE 8/9.
- * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
- */
-
-audio,
-canvas,
-progress,
-video {
- display: inline-block; /* 1 */
- vertical-align: baseline; /* 2 */
-}
-
-/**
- * Prevent modern browsers from displaying `audio` without controls.
- * Remove excess height in iOS 5 devices.
- */
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-/**
- * Address `[hidden]` styling not present in IE 8/9/10.
- * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
- */
-
-[hidden],
-template {
- display: none;
-}
-
-/* Links
- ========================================================================== */
-
-/**
- * Remove the gray background color from active links in IE 10.
- */
-
-a {
- background-color: transparent;
-}
-
-/**
- * Improve readability when focused and also mouse hovered in all browsers.
- */
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-/* Text-level semantics
- ========================================================================== */
-
-/**
- * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
- */
-
-abbr[title] {
- border-bottom: 1px dotted;
-}
-
-/**
- * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
- */
-
-b,
-strong {
- font-weight: bold;
-}
-
-/**
- * Address styling not present in Safari and Chrome.
- */
-
-dfn {
- font-style: italic;
-}
-
-/**
- * Address variable `h1` font-size and margin within `section` and `article`
- * contexts in Firefox 4+, Safari, and Chrome.
- */
-
-h1 {
- font-size: 2em;
- margin: 0.67em 0;
-}
-
-/**
- * Address styling not present in IE 8/9.
- */
-
-mark {
- background: #ff0;
- color: #000;
-}
-
-/**
- * Address inconsistent and variable font size in all browsers.
- */
-
-small {
- font-size: 80%;
-}
-
-/**
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
- */
-
-sub,
-sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-
-sup {
- top: -0.5em;
-}
-
-sub {
- bottom: -0.25em;
-}
-
-/* Embedded content
- ========================================================================== */
-
-/**
- * Remove border when inside `a` element in IE 8/9/10.
- */
-
-img {
- border: 0;
-}
-
-/**
- * Correct overflow not hidden in IE 9/10/11.
- */
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-/* Grouping content
- ========================================================================== */
-
-/**
- * Address margin not present in IE 8/9 and Safari.
- */
-
-figure {
- margin: 1em 40px;
-}
-
-/**
- * Address differences between Firefox and other browsers.
- */
-
-hr {
- -moz-box-sizing: content-box;
- box-sizing: content-box;
- height: 0;
-}
-
-/**
- * Contain overflow in all browsers.
- */
-
-pre {
- overflow: auto;
-}
-
-/**
- * Address odd `em`-unit font size rendering in all browsers.
- */
-
-code,
-kbd,
-pre,
-samp {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-
-/* Forms
- ========================================================================== */
-
-/**
- * Known limitation: by default, Chrome and Safari on OS X allow very limited
- * styling of `select`, unless a `border` property is set.
- */
-
-/**
- * 1. Correct color not being inherited.
- * Known issue: affects color of disabled elements.
- * 2. Correct font properties not being inherited.
- * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
- */
-
-button,
-input,
-optgroup,
-select,
-textarea {
- color: inherit; /* 1 */
- font: inherit; /* 2 */
- margin: 0; /* 3 */
-}
-
-/**
- * Address `overflow` set to `hidden` in IE 8/9/10/11.
- */
-
-button {
- overflow: visible;
-}
-
-/**
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
- * All other form control elements do not inherit `text-transform` values.
- * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
- * Correct `select` style inheritance in Firefox.
- */
-
-button,
-select {
- text-transform: none;
-}
-
-/**
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
- * and `video` controls.
- * 2. Correct inability to style clickable `input` types in iOS.
- * 3. Improve usability and consistency of cursor style between image-type
- * `input` and others.
- */
-
-button,
-html input[type="button"], /* 1 */
-input[type="reset"],
-input[type="submit"] {
- -webkit-appearance: button; /* 2 */
- cursor: pointer; /* 3 */
-}
-
-/**
- * Re-set default cursor for disabled elements.
- */
-
-button[disabled],
-html input[disabled] {
- cursor: default;
-}
-
-/**
- * Remove inner padding and border in Firefox 4+.
- */
-
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-/**
- * Address Firefox 4+ setting `line-height` on `input` using `!important` in
- * the UA stylesheet.
- */
-
-input {
- line-height: normal;
-}
-
-/**
- * It's recommended that you don't attempt to style these elements.
- * Firefox's implementation doesn't respect box-sizing, padding, or width.
- *
- * 1. Address box sizing set to `content-box` in IE 8/9/10.
- * 2. Remove excess padding in IE 8/9/10.
- */
-
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box; /* 1 */
- padding: 0; /* 2 */
-}
-
-/**
- * Fix the cursor style for Chrome's increment/decrement buttons. For certain
- * `font-size` values of the `input`, it causes the cursor style of the
- * decrement button to change from `default` to `text`.
- */
-
-input[type="number"]::-webkit-inner-spin-button,
-input[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-
-/**
- * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
- * (include `-moz` to future-proof).
- */
-
-input[type="search"] {
- -webkit-appearance: textfield; /* 1 */
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box; /* 2 */
- box-sizing: content-box;
-}
-
-/**
- * Remove inner padding and search cancel button in Safari and Chrome on OS X.
- * Safari (but not Chrome) clips the cancel button when the search input has
- * padding (and `textfield` appearance).
- */
-
-input[type="search"]::-webkit-search-cancel-button,
-input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-/**
- * Define consistent border, margin, and padding.
- */
-
-fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
-}
-
-/**
- * 1. Correct `color` not being inherited in IE 8/9/10/11.
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
- */
-
-legend {
- border: 0; /* 1 */
- padding: 0; /* 2 */
-}
-
-/**
- * Remove default vertical scrollbar in IE 8/9/10/11.
- */
-
-textarea {
- overflow: auto;
-}
-
-/**
- * Don't inherit the `font-weight` (applied by a rule above).
- * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
- */
-
-optgroup {
- font-weight: bold;
-}
-
-/* Tables
- ========================================================================== */
-
-/**
- * Remove most spacing between table cells.
- */
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-
-td,
-th {
- padding: 0;
-}
\ No newline at end of file
diff --git a/lab1-dockerfile/static-site/html/css/skeleton.css b/lab1-dockerfile/static-site/html/css/skeleton.css
deleted file mode 100644
index f28bf6c..0000000
--- a/lab1-dockerfile/static-site/html/css/skeleton.css
+++ /dev/null
@@ -1,418 +0,0 @@
-/*
-* Skeleton V2.0.4
-* Copyright 2014, Dave Gamache
-* www.getskeleton.com
-* Free to use under the MIT license.
-* http://www.opensource.org/licenses/mit-license.php
-* 12/29/2014
-*/
-
-
-/* Table of contents
-––––––––––––––––––––––––––––––––––––––––––––––––––
-- Grid
-- Base Styles
-- Typography
-- Links
-- Buttons
-- Forms
-- Lists
-- Code
-- Tables
-- Spacing
-- Utilities
-- Clearing
-- Media Queries
-*/
-
-
-/* Grid
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-.container {
- position: relative;
- width: 100%;
- max-width: 960px;
- margin: 0 auto;
- padding: 0 20px;
- box-sizing: border-box; }
-.column,
-.columns {
- width: 100%;
- float: left;
- box-sizing: border-box; }
-
-/* For devices larger than 400px */
-@media (min-width: 400px) {
- .container {
- width: 85%;
- padding: 0; }
-}
-
-/* For devices larger than 550px */
-@media (min-width: 550px) {
- .container {
- width: 80%; }
- .column,
- .columns {
- margin-left: 4%; }
- .column:first-child,
- .columns:first-child {
- margin-left: 0; }
-
- .one.column,
- .one.columns { width: 4.66666666667%; }
- .two.columns { width: 13.3333333333%; }
- .three.columns { width: 22%; }
- .four.columns { width: 30.6666666667%; }
- .five.columns { width: 39.3333333333%; }
- .six.columns { width: 48%; }
- .seven.columns { width: 56.6666666667%; }
- .eight.columns { width: 65.3333333333%; }
- .nine.columns { width: 74.0%; }
- .ten.columns { width: 82.6666666667%; }
- .eleven.columns { width: 91.3333333333%; }
- .twelve.columns { width: 100%; margin-left: 0; }
-
- .one-third.column { width: 30.6666666667%; }
- .two-thirds.column { width: 65.3333333333%; }
-
- .one-half.column { width: 48%; }
-
- /* Offsets */
- .offset-by-one.column,
- .offset-by-one.columns { margin-left: 8.66666666667%; }
- .offset-by-two.column,
- .offset-by-two.columns { margin-left: 17.3333333333%; }
- .offset-by-three.column,
- .offset-by-three.columns { margin-left: 26%; }
- .offset-by-four.column,
- .offset-by-four.columns { margin-left: 34.6666666667%; }
- .offset-by-five.column,
- .offset-by-five.columns { margin-left: 43.3333333333%; }
- .offset-by-six.column,
- .offset-by-six.columns { margin-left: 52%; }
- .offset-by-seven.column,
- .offset-by-seven.columns { margin-left: 60.6666666667%; }
- .offset-by-eight.column,
- .offset-by-eight.columns { margin-left: 69.3333333333%; }
- .offset-by-nine.column,
- .offset-by-nine.columns { margin-left: 78.0%; }
- .offset-by-ten.column,
- .offset-by-ten.columns { margin-left: 86.6666666667%; }
- .offset-by-eleven.column,
- .offset-by-eleven.columns { margin-left: 95.3333333333%; }
-
- .offset-by-one-third.column,
- .offset-by-one-third.columns { margin-left: 34.6666666667%; }
- .offset-by-two-thirds.column,
- .offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
-
- .offset-by-one-half.column,
- .offset-by-one-half.columns { margin-left: 52%; }
-
-}
-
-
-/* Base Styles
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-/* NOTE
-html is set to 62.5% so that all the REM measurements throughout Skeleton
-are based on 10px sizing. So basically 1.5rem = 15px :) */
-html {
- font-size: 62.5%; }
-body {
- font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
- line-height: 1.6;
- font-weight: 400;
- font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
- color: #222; }
-
-
-/* Typography
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-h1, h2, h3, h4, h5, h6 {
- margin-top: 0;
- margin-bottom: 2rem;
- font-weight: 300; }
-h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
-h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
-h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
-h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
-h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
-h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
-
-/* Larger than phablet */
-@media (min-width: 550px) {
- h1 { font-size: 5.0rem; }
- h2 { font-size: 4.2rem; }
- h3 { font-size: 3.6rem; }
- h4 { font-size: 3.0rem; }
- h5 { font-size: 2.4rem; }
- h6 { font-size: 1.5rem; }
-}
-
-p {
- margin-top: 0; }
-
-
-/* Links
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-a {
- color: #1EAEDB; }
-a:hover {
- color: #0FA0CE; }
-
-
-/* Buttons
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-.button,
-button,
-input[type="submit"],
-input[type="reset"],
-input[type="button"] {
- display: inline-block;
- height: 38px;
- padding: 0 30px;
- color: #555;
- text-align: center;
- font-size: 11px;
- font-weight: 600;
- line-height: 38px;
- letter-spacing: .1rem;
- text-transform: uppercase;
- text-decoration: none;
- white-space: nowrap;
- background-color: transparent;
- border-radius: 4px;
- border: 1px solid #bbb;
- cursor: pointer;
- box-sizing: border-box; }
-.button:hover,
-button:hover,
-input[type="submit"]:hover,
-input[type="reset"]:hover,
-input[type="button"]:hover,
-.button:focus,
-button:focus,
-input[type="submit"]:focus,
-input[type="reset"]:focus,
-input[type="button"]:focus {
- color: #333;
- border-color: #888;
- outline: 0; }
-.button.button-primary,
-button.button-primary,
-input[type="submit"].button-primary,
-input[type="reset"].button-primary,
-input[type="button"].button-primary {
- color: #FFF;
- background-color: #33C3F0;
- border-color: #33C3F0; }
-.button.button-primary:hover,
-button.button-primary:hover,
-input[type="submit"].button-primary:hover,
-input[type="reset"].button-primary:hover,
-input[type="button"].button-primary:hover,
-.button.button-primary:focus,
-button.button-primary:focus,
-input[type="submit"].button-primary:focus,
-input[type="reset"].button-primary:focus,
-input[type="button"].button-primary:focus {
- color: #FFF;
- background-color: #1EAEDB;
- border-color: #1EAEDB; }
-
-
-/* Forms
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-input[type="email"],
-input[type="number"],
-input[type="search"],
-input[type="text"],
-input[type="tel"],
-input[type="url"],
-input[type="password"],
-textarea,
-select {
- height: 38px;
- padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
- background-color: #fff;
- border: 1px solid #D1D1D1;
- border-radius: 4px;
- box-shadow: none;
- box-sizing: border-box; }
-/* Removes awkward default styles on some inputs for iOS */
-input[type="email"],
-input[type="number"],
-input[type="search"],
-input[type="text"],
-input[type="tel"],
-input[type="url"],
-input[type="password"],
-textarea {
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none; }
-textarea {
- min-height: 65px;
- padding-top: 6px;
- padding-bottom: 6px; }
-input[type="email"]:focus,
-input[type="number"]:focus,
-input[type="search"]:focus,
-input[type="text"]:focus,
-input[type="tel"]:focus,
-input[type="url"]:focus,
-input[type="password"]:focus,
-textarea:focus,
-select:focus {
- border: 1px solid #33C3F0;
- outline: 0; }
-label,
-legend {
- display: block;
- margin-bottom: .5rem;
- font-weight: 600; }
-fieldset {
- padding: 0;
- border-width: 0; }
-input[type="checkbox"],
-input[type="radio"] {
- display: inline; }
-label > .label-body {
- display: inline-block;
- margin-left: .5rem;
- font-weight: normal; }
-
-
-/* Lists
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-ul {
- list-style: circle inside; }
-ol {
- list-style: decimal inside; }
-ol, ul {
- padding-left: 0;
- margin-top: 0; }
-ul ul,
-ul ol,
-ol ol,
-ol ul {
- margin: 1.5rem 0 1.5rem 3rem;
- font-size: 90%; }
-li {
- margin-bottom: 1rem; }
-
-
-/* Code
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-code {
- padding: .2rem .5rem;
- margin: 0 .2rem;
- font-size: 90%;
- white-space: nowrap;
- background: #F1F1F1;
- border: 1px solid #E1E1E1;
- border-radius: 4px; }
-pre > code {
- display: block;
- padding: 1rem 1.5rem;
- white-space: pre; }
-
-
-/* Tables
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-th,
-td {
- padding: 12px 15px;
- text-align: left;
- border-bottom: 1px solid #E1E1E1; }
-th:first-child,
-td:first-child {
- padding-left: 0; }
-th:last-child,
-td:last-child {
- padding-right: 0; }
-
-
-/* Spacing
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-button,
-.button {
- margin-bottom: 1rem; }
-input,
-textarea,
-select,
-fieldset {
- margin-bottom: 1.5rem; }
-pre,
-blockquote,
-dl,
-figure,
-table,
-p,
-ul,
-ol,
-form {
- margin-bottom: 2.5rem; }
-
-
-/* Utilities
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-.u-full-width {
- width: 100%;
- box-sizing: border-box; }
-.u-max-full-width {
- max-width: 100%;
- box-sizing: border-box; }
-.u-pull-right {
- float: right; }
-.u-pull-left {
- float: left; }
-
-
-/* Misc
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-hr {
- margin-top: 3rem;
- margin-bottom: 3.5rem;
- border-width: 0;
- border-top: 1px solid #E1E1E1; }
-
-
-/* Clearing
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-
-/* Self Clearing Goodness */
-.container:after,
-.row:after,
-.u-cf {
- content: "";
- display: table;
- clear: both; }
-
-
-/* Media Queries
-–––––––––––––––––––––––––––––––––––––––––––––––––– */
-/*
-Note: The best way to structure the use of media queries is to create the queries
-near the relevant code. For example, if you wanted to change the styles for buttons
-on small devices, paste the mobile query code up in the buttons section and style it
-there.
-*/
-
-
-/* Larger than mobile */
-@media (min-width: 400px) {}
-
-/* Larger than phablet (also point when grid becomes active) */
-@media (min-width: 550px) {}
-
-/* Larger than tablet */
-@media (min-width: 750px) {}
-
-/* Larger than desktop */
-@media (min-width: 1000px) {}
-
-/* Larger than Desktop HD */
-@media (min-width: 1200px) {}
diff --git a/lab1-dockerfile/static-site/html/images/favicon.png b/lab1-dockerfile/static-site/html/images/favicon.png
deleted file mode 100644
index 7a3c81c1e32b4e4224452cf8261a585480caa0ea..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1156
zcmV-~1bh35P)Px(K1oDDR9FeUS6ygSR}lVo-6obMX;utd(pYw*xM;*axQ4d&FA%IGA~hPSg!&Re
z%!{H3LD7)Nf>mf~DXa7+587b*Vq0rT+y^!IQ_&TXVq{}Xg2tsmWK$E{Rg$dV+}vF6
z#`_m=J8(F2&&-)`&YW}R%yq#z<@o*n3YW{ZhEo=^6_YQP>FIPj!A@E?`I7?!182!U
zWwRxhod!YQaJ$|6s8`2UV5hIjAF*$nn3!mxGk;snv2q|c5D4ty$oVx(v2fUKIJzp%YyG-;+|bmTJITBB&Z-~d;>l)!%wq-3T*Hu{5vvj{FwB`QX)d;Q(oi9$K)StVkW
z6c!eyhlhvdszTWU_0aWF=-{;b&=3w|^@mIFWhm}D9??d2iK8!I63Xsg){iGSF*2TdhFu$i_?LHwo`odIDct3
zl;>}naw>Tj*DjvJug8wyM9k^>l~=UK#Tzg}dsgRKg9|nMfVQ0#T)#Obt{lbsjm=KC
zVN{<9&8@1ESY$JTRl9KNN*u|Qv3ha&CbWO;=u(M+wDT=6zzcm;gX)@ER92Rw`1u6^
zQrGcW*?Pnb=IDo*jCv#jQpq@?hQmh@t_x|pv91$n-nJ1Rl)Z;jcTGZ~X&W*LaiH5!
zG<`7Cge@yqU_;B#h((X1slEn5pQ_|r0k7m_jb4F+oG#kkE+&IdSaNl0b4{3V^d>gw
z648{}SSkh2Y<>K>1Mzm0RqdHlG41&@uX6K2kXK1+I7_;Js~2Mi8q>jn2l#QHJvdE0
z5^Q;n$C-@YV!zzLzBY8VvmM`_z722DTolcD9r>@y6QZXvB;s8-v}p~#%cyzuIvIRx
zGMPN7yoNJ-j#VQ*A42oyVT4&EKYs-GVsWQ;U&{E*=U7ZKBepOj?#=KqOCNM#KPzP^
z^(PAw6-UbOb9CaRRKjMy6Z|s4Kc-wM)AgC~359DZkm@yCG^k=|{|I^qASDtNs)?Qr
zC&XrzVCYw;976qo@am!bUw%xqs#xy?E7noApQL)_c!=j>`km9OoAQjN6bD~$&+BRL
zA0tIW2UNvzDV^y=D;
-
-
-
-
-
- Docker :)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello Docker!
-
This is being served from a docker container running Nginx.
-
-
-
-
-
-
-
diff --git a/lab1-dockerfile/static-site/wrapper.sh b/lab1-dockerfile/static-site/wrapper.sh
deleted file mode 100644
index 3da76aa..0000000
--- a/lab1-dockerfile/static-site/wrapper.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-echo "Nginx is running..."
-
-exec nginx -g "daemon off;"
From 36e62f90064d0721ac238ce5327fe06da04a5d47 Mon Sep 17 00:00:00 2001
From: root
Date: Tue, 2 Feb 2021 08:01:04 +0000
Subject: [PATCH 07/30] added one file
---
sau.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 sau.txt
diff --git a/sau.txt b/sau.txt
new file mode 100644
index 0000000..88fcab5
--- /dev/null
+++ b/sau.txt
@@ -0,0 +1 @@
+this is my personal file
From 5756c77ba6fa994f655a8ede24ac0b412dcfdfee Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Tue, 2 Feb 2021 13:41:31 +0530
Subject: [PATCH 08/30] Modifed one file
---
sau.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/sau.txt b/sau.txt
index 88fcab5..c0adeb5 100644
--- a/sau.txt
+++ b/sau.txt
@@ -1 +1,2 @@
this is my personal file
+My name is Saurabh Gore. I have completed my Graduation in comouter science from Manipal Institute of Technology.
From 5d6f07cd4b12413a76e23487ee0420d8f196975a Mon Sep 17 00:00:00 2001
From: root
Date: Tue, 2 Feb 2021 08:13:37 +0000
Subject: [PATCH 09/30] MODIFIED ONE FILE
---
sau.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sau.txt b/sau.txt
index 88fcab5..d8ea4f5 100644
--- a/sau.txt
+++ b/sau.txt
@@ -1 +1,2 @@
-this is my personal file
+this is my personal file.
+mY NAME IS SAURABH GORE
From 77756a46f2cbe540d426b467c1c5a0c33a11f87a Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Tue, 2 Feb 2021 13:49:13 +0530
Subject: [PATCH 10/30] modified one file
---
sau.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/sau.txt b/sau.txt
index c0adeb5..af165fd 100644
--- a/sau.txt
+++ b/sau.txt
@@ -1,2 +1,3 @@
this is my personal file
My name is Saurabh Gore. I have completed my Graduation in comouter science from Manipal Institute of Technology.
+My name is sagore
From 4ae38fc77654cc19ce2227d0fd31e634a3fd680d Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Tue, 2 Feb 2021 14:53:13 +0530
Subject: [PATCH 11/30] modified one file
---
index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html
index d4b6f34..a6031d3 100644
--- a/index.html
+++ b/index.html
@@ -2,6 +2,7 @@
This is my webpage created through Dockerfile for the Simplilearn Project
My name is sagore
-i am finding it really interesting. I am going to give my best in this project
+i am finding it really interesting. I am going to give my best in this project.
+ Today I have completed the write up for the project
From b464d336be433e6ac8aec6473cbd0153b3692111 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Tue, 2 Feb 2021 14:57:11 +0530
Subject: [PATCH 12/30] modified one file
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 58a6a74..754c566 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,5 +2,5 @@ FROM centos
RUN yum update -y
RUN yum install httpd -y
CMD /var/www/html
-CMD echo "this is a sample webpage" >> index.html
+CMD echo "My name is sagore" >> index.html
CMD ["/usr/sbin/httpd","-D","FOREGROUND"]
From 0a67c25f2578065fae75a84174cc5a3da8dc881c Mon Sep 17 00:00:00 2001
From: root
Date: Mon, 15 Feb 2021 08:59:36 +0000
Subject: [PATCH 13/30] added one file
---
my-file.txt | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 my-file.txt
diff --git a/my-file.txt b/my-file.txt
new file mode 100644
index 0000000..e69de29
From 3c623bd39f488a7f8f1c1e69b8ea313e3fd220f4 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Sun, 21 Feb 2021 18:19:32 +0530
Subject: [PATCH 14/30] modified one file
---
index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html
index a6031d3..261efba 100644
--- a/index.html
+++ b/index.html
@@ -3,6 +3,7 @@
My name is sagore
i am finding it really interesting. I am going to give my best in this project.
- Today I have completed the write up for the project
+ Today I have completed the write up for the project.
+ I am from bhopal
From 5ba970a9ef779845eee0852c325323797da0e96b Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Sun, 21 Feb 2021 18:30:22 +0530
Subject: [PATCH 15/30] modified one file
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 9b8226e..7d24142 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -8,7 +8,7 @@ pipeline {
stages {
stage('Cloning Git') {
steps{
- git 'https://github.com/saurabhgore-code/docker-website.git'
+ git 'https://github.com/saurabhgore-code/SaurabhSimplilearnProject.git'
}
}
stage('Building Image') {
From 2f28e293c32a556ae15373435f47a6bdddda41a5 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 17:15:15 +0530
Subject: [PATCH 16/30] made one change to repo
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7d24142..bf98fbd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -14,7 +14,7 @@ stages {
stage('Building Image') {
steps{
script{
- dockerImage = docker.build registry + ":$BUILD_NUMBER"
+ sh 'docker build -t apache-image /home/billion'
}
}
}
From 19c83a21451ab6c9701b7ea765884cabf7debc51 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 17:16:15 +0530
Subject: [PATCH 17/30] made one change to repo
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index bf98fbd..56fdfc5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,6 +1,6 @@
pipeline {
environment {
- registry = 'saurabhgore65/app-image'
+ registry = 'saurabhgore70/apache-image'
registryCredential = 'sagoredockerid'
dockerImage = ''
}
From b2a5c0dfb93de720d7c29096eab490ae30bdf5cc Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 17:27:41 +0530
Subject: [PATCH 18/30] made one change to repo
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 56fdfc5..7eaed3b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -14,7 +14,7 @@ stages {
stage('Building Image') {
steps{
script{
- sh 'docker build -t apache-image /home/billion'
+ sh 'docker build -t apache-image /home/billion/all-dockerfiles'
}
}
}
From 228debd9495aa5f74789d513dad56c8bb8ce4a80 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 17:32:32 +0530
Subject: [PATCH 19/30] made one change to repo
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7eaed3b..8eb581a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,7 @@
pipeline {
environment {
registry = 'saurabhgore70/apache-image'
- registryCredential = 'sagoredockerid'
+ registryCredential = 'saurabhgore70'
dockerImage = ''
}
agent any
From ae50b1ff40f7f65ce7b8b335214634f0b6f8947a Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 17:40:23 +0530
Subject: [PATCH 20/30] made changes to repo
---
Jenkinsfile | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 8eb581a..a326d51 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,9 +1,4 @@
pipeline {
- environment {
- registry = 'saurabhgore70/apache-image'
- registryCredential = 'saurabhgore70'
- dockerImage = ''
-}
agent any
stages {
stage('Cloning Git') {
@@ -21,9 +16,8 @@ stages {
stage('Deploy Image') {
steps{
script{
- docker.withRegistry( '', registryCredential ) {
- dockerImage.push()
- }
+ sh 'docker tag apache-image saurabhgore70/apache-image:v1'
+ sh 'docker push saurabhgore70/apache-image:v1'
}
}
From 6d34bfe6924917ffd0393abf1b2468cc1e03a331 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 18:04:59 +0530
Subject: [PATCH 21/30] made one change to repo
---
Jenkinsfile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index a326d51..8d65bce 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -15,10 +15,11 @@ stages {
}
stage('Deploy Image') {
steps{
- script{
- sh 'docker tag apache-image saurabhgore70/apache-image:v1'
- sh 'docker push saurabhgore70/apache-image:v1'
- }
+ docker.withRegistry('https://registry.hub.docker.com', 'git')
+ {
+ app.push("${env.BUILD_NUMBER}")
+ app.push("latest")
+ }
}
}
From a0c4cd4d57cea8f2ddd041f70f0d639986dfa8f7 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 18:26:02 +0530
Subject: [PATCH 22/30] removed one file from repo
---
Dockerfile | 6 ------
1 file changed, 6 deletions(-)
delete mode 100644 Dockerfile
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 754c566..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,6 +0,0 @@
-FROM centos
-RUN yum update -y
-RUN yum install httpd -y
-CMD /var/www/html
-CMD echo "My name is sagore" >> index.html
-CMD ["/usr/sbin/httpd","-D","FOREGROUND"]
From 641c9d914d89c806531834f38b51a60e3a41a383 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 18:34:32 +0530
Subject: [PATCH 23/30] made one changed to repo
---
Jenkinsfile | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 8d65bce..5351fa2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,4 +1,9 @@
pipeline {
+ {
+ enviroment=saurabhgore70/apache-image:v1
+ registry='saurabhgore70'
+ dockerhub=""
+ }
agent any
stages {
stage('Cloning Git') {
@@ -15,13 +20,12 @@ stages {
}
stage('Deploy Image') {
steps{
- docker.withRegistry('https://registry.hub.docker.com', 'git')
- {
- app.push("${env.BUILD_NUMBER}")
- app.push("latest")
- }
- }
-
+ script{
+ sh 'docker tag apache-image saurabhgore70/apache-image:v1'
+ sh 'docker push saurabhgore70/apache-image:v1'
+ }
+ }
+
}
}
From 39e23c883cfed4845dfca1cb45f96d21dfd31f4e Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Mon, 11 Oct 2021 18:37:25 +0530
Subject: [PATCH 24/30] made changes to repo
---
Jenkinsfile | 5 -----
1 file changed, 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5351fa2..32f18d3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,9 +1,4 @@
pipeline {
- {
- enviroment=saurabhgore70/apache-image:v1
- registry='saurabhgore70'
- dockerhub=""
- }
agent any
stages {
stage('Cloning Git') {
From d924c615acf1f8d74fafbefd3bfb2a4d27a5b421 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Thu, 14 Oct 2021 14:20:29 +0530
Subject: [PATCH 25/30] made one change to repo
---
Jenkinsfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 32f18d3..825f896 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,6 +16,7 @@ stages {
stage('Deploy Image') {
steps{
script{
+ sh 'docker login -u saurabhgore70'
sh 'docker tag apache-image saurabhgore70/apache-image:v1'
sh 'docker push saurabhgore70/apache-image:v1'
}
From fe4b25ec9579ffc6f9d6f526f5d0d4ba85bf578d Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Thu, 14 Oct 2021 14:36:48 +0530
Subject: [PATCH 26/30] made one change to repo
---
Jenkinsfile | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 825f896..3bb6837 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,6 +1,9 @@
pipeline {
agent any
-stages {
+ environment {
+ DOCKERHUB_CREDENTIALS=credentials('saurabhgore70')
+ }
+ stages {
stage('Cloning Git') {
steps{
git 'https://github.com/saurabhgore-code/SaurabhSimplilearnProject.git'
@@ -13,16 +16,20 @@ stages {
}
}
}
+ stage('login dockerhub'){
+ steps{
+ sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR --password-stdin'
+ }
+ }
stage('Deploy Image') {
steps{
script{
- sh 'docker login -u saurabhgore70'
+
sh 'docker tag apache-image saurabhgore70/apache-image:v1'
sh 'docker push saurabhgore70/apache-image:v1'
}
}
-
- }
+ }
}
}
From 75b62d3b0a61105caa7c9332c2f19d10935093d1 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Thu, 14 Oct 2021 14:49:27 +0530
Subject: [PATCH 27/30] made one change to repo
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3bb6837..2dee702 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,7 @@
pipeline {
agent any
environment {
- DOCKERHUB_CREDENTIALS=credentials('saurabhgore70')
+ DOCKERHUB_CREDENTIALS=credentials('dockerhub')
}
stages {
stage('Cloning Git') {
From 8261c3b72b078c9479c01e7b483166eb9a952337 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Fri, 15 Oct 2021 19:21:15 +0530
Subject: [PATCH 28/30] made changes to repo
---
Jenkinsfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 2dee702..a8f0195 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,7 +12,7 @@ pipeline {
stage('Building Image') {
steps{
script{
- sh 'docker build -t apache-image /home/billion/all-dockerfiles'
+ sh 'docker build -t python-image /home/billion/dockerfiles'
}
}
}
@@ -25,8 +25,8 @@ pipeline {
steps{
script{
- sh 'docker tag apache-image saurabhgore70/apache-image:v1'
- sh 'docker push saurabhgore70/apache-image:v1'
+ sh 'docker tag python-image saurabhgore70/python-image:v1'
+ sh 'docker push saurabhgore70/python-image:v1'
}
}
}
From aa10aa8fb836537b6697d318b199f48962f1dcf0 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Wed, 3 Nov 2021 17:50:44 +0530
Subject: [PATCH 29/30] made one change to repo
---
Jenkinsfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index a8f0195..05e5e3e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,7 +12,7 @@ pipeline {
stage('Building Image') {
steps{
script{
- sh 'docker build -t python-image /home/billion/dockerfiles'
+ sh 'docker build -t go-image /root'
}
}
}
@@ -25,8 +25,8 @@ pipeline {
steps{
script{
- sh 'docker tag python-image saurabhgore70/python-image:v1'
- sh 'docker push saurabhgore70/python-image:v1'
+ sh 'docker tag go-image saurabhgore70/my-private-repo:v2'
+ sh 'docker push saurabhgore70/my-private-repo:v2'
}
}
}
From 2ab12af8e317f8ca251de87028b8c745e2266a12 Mon Sep 17 00:00:00 2001
From: sagore <55824857+saurabhgore-code@users.noreply.github.com>
Date: Fri, 26 Nov 2021 14:38:06 +0530
Subject: [PATCH 30/30] made one change to repo
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 05e5e3e..46b1ee4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -25,8 +25,8 @@ pipeline {
steps{
script{
- sh 'docker tag go-image saurabhgore70/my-private-repo:v2'
- sh 'docker push saurabhgore70/my-private-repo:v2'
+ sh 'docker tag go-image saurabhgore70/go-image:v2'
+ sh 'docker push saurabhgore70/go-image:v2'
}
}
}