https://github.com/savoirfairelinux/lampd
A Drupal-oriented LAMP stack base image for Docker, based on Phusion
https://github.com/savoirfairelinux/lampd
Last synced: about 1 month ago
JSON representation
A Drupal-oriented LAMP stack base image for Docker, based on Phusion
- Host: GitHub
- URL: https://github.com/savoirfairelinux/lampd
- Owner: savoirfairelinux
- License: gpl-3.0
- Created: 2015-07-15T20:36:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T17:45:35.000Z (almost 5 years ago)
- Last Synced: 2024-12-26T18:22:38.157Z (6 months ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/savoirfairelinux/lampd/
- Size: 36.1 KB
- Stars: 1
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Drupal-oriented LAMP stack base image for Docker
==================================================Lampd is a Docker base image, based itself on modified Ubuntu base image *Phusion*.
Learn more at Docker Hub on [Phusion Base Image](https://hub.docker.com/r/phusion/baseimage/).
Lampd is available for pulling from the [Docker registry](https://hub.docker.com/r/savoirfairelinux/lampd/).
Contents
--------On top of all [the components](https://github.com/phusion/baseimage-docker#whats-inside-the-image) provided by the Phusion base image, Lampd base image contains essential components for Drupal development:
* Ubuntu 16.04 LTS as base system
* Apache2
* MySQL
* PHP 7.2
* Git
* Composer
* Drush 8.x
* Behat 3.0 with [Drupal Extension](https://www.drupal.org/project/drupalextension)
* A [JUnit formatter](https://packagist.org/packages/jarnaiz/behat-junit-formatter) for Behat 3.0
* AsciidoctorUse Lampd as base image
-----------------------The image is called _savoirfairelinux/lampd_, and is available on the Docker registry.
```
# Docker Drupal
# VERSION 0.3
FROM savoirfairelinux/lampd
```Usage
-----Start a container:
```
docker run YOUR_IMAGE
```Find out the container ID that you just ran:
```
docker ps
```Once you have the ID, look for its IP address with:
```
docker inspect -f "{{ .NetworkSettings.IPAddress }}"
```Now that you have the IP address, you can use SSH to login to the container, or to execute a command inside it:
```
# Login to the container
ssh -i /path-to/your_key root@# Running a command inside the container
ssh -i /path-to/your_key root@ echo hello world
```Authors
-------Created by [Ernesto Rodriguez Ortiz]([email protected]) and Savoir-faire Linux Drupal Team.
Maintained by [Mohammed Raza] ([email protected])Licence
-------GPL v2