Commit a2a9a867 authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Update README.md after move project to Drupal group.

parent 5a8ee8fc
......@@ -7,34 +7,40 @@ To build, make sure you have Docker [installed](http://www.docker.io/gettingstar
This image is used in other projects like [Drupal sfl-boilerplate](https://gitlab.savoirfairelinux.com/drupal/sfl-boilerplate) and the purpouse is to provide to others Drupal projects a baseimage with all dependency installed to make tests and install Drupal.
## Install docker:
First, check that your APT system can deal with https URLs: the file /usr/lib/apt/methods/https should exist. If it doesn't, you need to install the package apt-transport-https.
Log into your Ubuntu installation as a user with sudo privileges.
Verify that you have wget installed.
```
[ -e /usr/lib/apt/methods/https ] || {
apt-get update
apt-get install apt-transport-https
}
$ which wget
```
Then, add the Docker repository key to your local keychain.
If wget isn't installed, install it after updating your manager:
```
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
$ sudo apt-get update $ sudo apt-get install wget
```
Add the Docker repository to your apt sources list, update and install the lxc-docker package.
Get the latest Docker package.
```
sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get install lxc-docker
$ wget -qO- https://get.docker.com/ | sh
```
The system prompts you for your sudo password. Then, it downloads and installs Docker and its dependencies.
Add your user to the docker group to be able to execute docker command wihtout sudo
Verify docker is installed correctly.
```
$ sudo docker version
```
This command should show you the version of docker installed in your system
Add your user to the docker group to be able to execute docker command wihtout sudo
```
adduser <user> docker
$ adduser <user> docker
```
Remember logout and login to the last command take effect.
#### To install docker in other OS look [here](https://docs.docker.com/installation)
## Clone this repo somewhere,
```
git clone https://gitlab.savoirfairelinux.com/erortiz/docker-lampd.git
git clone https://gitlab.savoirfairelinux.com/drupal/docker-lampd.git
cd docker-lampd
```
and then build it:
......@@ -70,8 +76,7 @@ Feel free to fork and contribute to this code. :)
## Authors
Created and maintained by [Ernesto Rodriguez Ortiz][author] (ernesto.rodriguezortiz@savoirfairelinux.com>)
Created and maintained by [Ernesto Rodriguez Ortiz](ernesto.rodriguezortiz@savoirfairelinux.com>)
## License
GPL v2
GPL v2
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment