This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Following the guide found at this page | |
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html | |
echo "\r\nUpdating system ...\r\n" | |
sudo apt-get update | |
# Create folder to place selenium in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mengambil image dari sumber di dockerhub dengan nama | |
# "php:5.6-apache" | |
FROM php:5.6-apache | |
# Port yang akan dibuka adalah port 80 | |
EXPOSE 80 | |
# Menginstall aplikasi yang diperlukan seperti git, git, dan vim | |
# Aplikasi ini akan dibutuhkan ketika melakukan composer install | |
RUN apt-get update | |
RUN apt-get install -y git zip unzip vim libpng12-dev libjpeg-dev libpq-dev libmcrypt-dev \ |