Skip to content

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

License

Notifications You must be signed in to change notification settings

matheusbona/php-docker-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages