Learning Resources for DevOps, SRE, Cloud & Engineering Management
A static website supposed to run as a docker container! (Manual Steps)
git clone https://github.com/BINPIPE/static-site-docker.git
cd static-site-docker
chmod +x wrapper.sh
docker build --tag binpipe/static-site-docker:1.0 .
docker run -p 8888:80 binpipe/static-site-docker:1.0
Open browser at http://IP-Address-of-Docker-Server:8888/
to view the website.
A static website supposed to run as a docker container! (Run Via Jenkins Freestyle Job)
Follow the tutorial video to get the configuration done. Essentially, the following steps are to be followed:
- Define the github repo url/credentials in the Jenkins Freestyle Job.
- In the build phase select the
shell script
option and run thejenkins-cicd.sh
script as below. -
chmod +x jenkins-cicd.sh bash jenkins-cicd.sh
- Save the job and execute the build. Follow the execution via console logs.
BINPIPE aims to simplify learning for those who are looking to make a foothold in the industry. Write to me at nixgurus@gmail.com if you are looking for tailor-made training sessions. For self-study resources look around in this repository, the Binpipe Blog and Youtube Channel.
📒 Maintainer: Prasanjit Singh | www.binpipe.org