Compare commits

...

12 Commits

Author SHA1 Message Date
a30bf83269 Merge pull request #228 from lialosiu/master
add options INSTALL_ZIP_ARCHIVE to php-fpm
2016-08-14 15:46:52 +03:00
1fdf800988 add options INSTALL_ZIP_ARCHIVE to php-fpm 2016-08-14 15:53:08 +08:00
82cbad75d4 Update the reamde: list more awesome contributors 2016-08-11 21:24:20 +03:00
6111ca5ff7 Merge pull request #222 from tianissimo/dev-workspace-node-fix
Fixed nvm/node installation not working.
2016-08-11 21:14:39 +03:00
b393996d44 Fixed nvm/node installation not working. 2016-08-11 18:03:27 +07:00
f12028576c upgrade the workspace base image to 1.1 2016-08-10 22:25:41 +03:00
27d3525469 Merge pull request #203 from davidavz/patch-1
Update README.md
2016-08-05 13:04:00 +03:00
8b6fdfed76 Merge pull request #208 from davidavz/patch-3
Update README.md
2016-08-05 13:03:47 +03:00
3c427d20c0 Merge pull request #204 from davidavz/patch-2
Update README.md
2016-08-05 13:03:35 +03:00
57c003722e Update README.md 2016-08-04 23:10:27 +02:00
ab4c44a434 Update README.md 2016-08-03 22:50:45 +02:00
0f7969c999 Update README.md 2016-08-03 22:44:26 +02:00
6 changed files with 39 additions and 14 deletions

View File

@ -195,7 +195,7 @@ What's better than a **Demo Video**:
1 - Clone the `LaraDock` repository: 1 - Clone the `LaraDock` repository:
**A)** If you already have a Laravel project, clone this repository on your `Laravel` root direcotry: **A)** If you already have a Laravel project, clone this repository on your `Laravel` root directory:
```bash ```bash
git submodule add https://github.com/LaraDock/laradock.git git submodule add https://github.com/LaraDock/laradock.git
@ -351,7 +351,7 @@ docker-compose down
2 - enter any container using: 2 - enter any container using:
```bash ```bash
docker-composer exec {container-name} bash docker-compose exec {container-name} bash
``` ```
*Example: enter MySQL container* *Example: enter MySQL container*
@ -951,7 +951,7 @@ sudo chmod -R 777 storage bootstrap/cache
#### I see "Welcome to nginx" instead of the Laravel App! #### I see "Welcome to nginx" instead of the Laravel App!
Use `http://127.0.0.1` (or [your Docker IP](#Find-Docker-IP-Address)) instead of `http://localhost` in your browser. Use `http://127.0.0.1` instead of `http://localhost` in your browser.
#### I see an error message containing `address already in use` #### I see an error message containing `address already in use`
@ -1006,6 +1006,9 @@ For special help with Docker and/or Laravel, you can schedule a live call with t
**Main Contributors:** **Main Contributors:**
- [Suteepat (tianissimo)](https://github.com/tianissimo)
- [David (davidavz)](https://github.com/davidavz)
- [Lialosiu](https://github.com/lialosiu)
- [Eric Pfeiffer (computerfr33k)](https://github.com/computerfr33k) - [Eric Pfeiffer (computerfr33k)](https://github.com/computerfr33k)
- [Orette](https://github.com/orette) - [Orette](https://github.com/orette)
- [Jack Fletcher (Kauhat)](https://github.com/Kauhat) - [Jack Fletcher (Kauhat)](https://github.com/Kauhat)

View File

@ -26,6 +26,7 @@ services:
args: args:
- INSTALL_MONGO=false - INSTALL_MONGO=false
- INSTALL_XDEBUG=false - INSTALL_XDEBUG=false
- INSTALL_ZIP_ARCHIVE=false
dockerfile: Dockerfile-70 dockerfile: Dockerfile-70
volumes_from: volumes_from:
- volumes_source - volumes_source

View File

@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
# #
# - INSTALL_XDEBUG= false # - INSTALL_XDEBUG= false
# - INSTALL_MONGO= false # - INSTALL_MONGO= false
# - INSTALL_ZIP_ARCHIVE= false
# #
##################################### #####################################
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
pecl install mongodb \ pecl install mongodb \
;fi ;fi
#####################################
# ZipArchive:
#####################################
ARG INSTALL_ZIP_ARCHIVE=true
ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
# Install the zip extention
pecl install zip \
;fi
# #
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# Final Touch # Final Touch

View File

@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
# #
# - INSTALL_XDEBUG= false # - INSTALL_XDEBUG= false
# - INSTALL_MONGO= false # - INSTALL_MONGO= false
# - INSTALL_ZIP_ARCHIVE= false
# #
##################################### #####################################
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
pecl install mongodb \ pecl install mongodb \
;fi ;fi
#####################################
# ZipArchive:
#####################################
ARG INSTALL_ZIP_ARCHIVE=true
ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
# Install the zip extention
pecl install zip \
;fi
# #
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# Final Touch # Final Touch

View File

@ -2,6 +2,7 @@ date.timezone=UTC
display_errors=Off display_errors=Off
log_errors=On log_errors=On
extension=mongodb.so extension=mongodb.so
extension=zip.so
; Maximum amount of memory a script may consume (128MB) ; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit ; http://php.net/memory-limit

View File

@ -10,7 +10,7 @@
# https://hub.docker.com/r/laradock/workspace/tags/ # https://hub.docker.com/r/laradock/workspace/tags/
# #
FROM laradock/workspace:1.0 FROM laradock/workspace:1.1
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me> MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
@ -75,7 +75,7 @@ ARG PUID=1000
ARG PGID=1000 ARG PGID=1000
RUN groupadd -g $PGID laradock && \ RUN groupadd -g $PGID laradock && \
useradd -u $PUID -g laradock -m laradock useradd -u $PUID -g laradock -m laradock
##################################### #####################################
# Composer: # Composer:
##################################### #####################################
@ -102,17 +102,11 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
# Check if NVM needs to be installed # Check if NVM needs to be installed
ARG INSTALL_NODE=true ARG INSTALL_NODE=true
ENV INSTALL_NODE ${INSTALL_NODE} ENV INSTALL_NODE ${INSTALL_NODE}
ENV NVM_DIR /home/laradock/.nvm
RUN if [ ${INSTALL_NODE} = true ]; then \ RUN if [ ${INSTALL_NODE} = true ]; then \
# Install nvm (A Node Version Manager) # Install nvm (A Node Version Manager)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash \ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash && \
;fi . ~/.nvm/nvm.sh && \
# Again check if NVM needs to be installed
# I had to split this condition link this because when I get it inside the above if statement is refuses to work!
ENV if [ ${INSTALL_NODE} = true ]; then \
# Set the ENV
NVM_DIR=/home/laradock/.nvm \
# Install NodeJS with NVM
RUN . ~/.nvm/nvm.sh && \
nvm install stable && \ nvm install stable && \
nvm use stable && \ nvm use stable && \
nvm alias stable && \ nvm alias stable && \