matheusbona / php-docker-base

Base docker image to run PHP applications hosted on bitbucket.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-docker-base

Base docker image to run PHP applications hosted on bitbucket.org

Guide

  1. Checkout this REPO

git clone https://github.com/matheusbona/php-docker-base.git

  1. create a public/private key (Atlassian docs - https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html)

ssh-keygen -f $(pwd)/id_rsa

  1. Setup your public key on your bitbucket account (Atlassian docs - https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html)

cat id_rsa.pub

  1. Adjust the init.sh file (Put your bitbucket ssh url)

vim init.sh

  1. Build docker image

docker build -t matheusbona/my-php-application .

  1. Run the bagaça

docker run -d --name my-app matheusbona/my-php-application

Enjoy

About

Base docker image to run PHP applications hosted on bitbucket.org

License:MIT License


Languages

Language:Shell 100.0%