commit
221edf4bb2
@ -1681,6 +1681,6 @@ This error sometimes happens because your Laravel application isn't running on t
|
|||||||
* Option B
|
* Option B
|
||||||
1. Change the `DB_HOST` value to the same name as the MySQL docker container. The Laradock docker-compose file currently has this as `mysql`
|
1. Change the `DB_HOST` value to the same name as the MySQL docker container. The Laradock docker-compose file currently has this as `mysql`
|
||||||
|
|
||||||
## I get stuck when building ngxinx on `fetch http://mirrors.aliyun.com/alpine/v3.5/main/x86_64/APKINDEX.tar.gz`
|
## I get stuck when building nginx on `fetch http://mirrors.aliyun.com/alpine/v3.5/main/x86_64/APKINDEX.tar.gz`
|
||||||
|
|
||||||
As stated on [#749](https://github.com/laradock/laradock/issues/749#issuecomment-293296687), removing the line `RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories` from `nginx/Dockerfile` solves the problem.
|
As stated on [#749](https://github.com/laradock/laradock/issues/749#issuecomment-293296687), removing the line `RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories` from `nginx/Dockerfile` solves the problem.
|
||||||
|
@ -38,6 +38,7 @@ services:
|
|||||||
- INSTALL_PYTHON=${WORKSPACE_INSTALL_PYTHON}
|
- INSTALL_PYTHON=${WORKSPACE_INSTALL_PYTHON}
|
||||||
- INSTALL_IMAGE_OPTIMIZERS=${WORKSPACE_INSTALL_IMAGE_OPTIMIZERS}
|
- INSTALL_IMAGE_OPTIMIZERS=${WORKSPACE_INSTALL_IMAGE_OPTIMIZERS}
|
||||||
- INSTALL_IMAGEMAGICK=${WORKSPACE_INSTALL_IMAGEMAGICK}
|
- INSTALL_IMAGEMAGICK=${WORKSPACE_INSTALL_IMAGEMAGICK}
|
||||||
|
- INSTALL_TERRAFORM=${WORKSPACE_INSTALL_TERRAFORM}
|
||||||
- PUID=${WORKSPACE_PUID}
|
- PUID=${WORKSPACE_PUID}
|
||||||
- PGID=${WORKSPACE_PGID}
|
- PGID=${WORKSPACE_PGID}
|
||||||
- NODE_VERSION=${WORKSPACE_NODE_VERSION}
|
- NODE_VERSION=${WORKSPACE_NODE_VERSION}
|
||||||
|
@ -51,6 +51,7 @@ WORKSPACE_INSTALL_SYMFONY=false
|
|||||||
WORKSPACE_INSTALL_PYTHON=false
|
WORKSPACE_INSTALL_PYTHON=false
|
||||||
WORKSPACE_INSTALL_IMAGE_OPTIMIZERS=false
|
WORKSPACE_INSTALL_IMAGE_OPTIMIZERS=false
|
||||||
WORKSPACE_INSTALL_IMAGEMAGICK=false
|
WORKSPACE_INSTALL_IMAGEMAGICK=false
|
||||||
|
WORKSPACE_INSTALL_TERRAFORM=false
|
||||||
WORKSPACE_PUID=1000
|
WORKSPACE_PUID=1000
|
||||||
WORKSPACE_PGID=1000
|
WORKSPACE_PGID=1000
|
||||||
WORKSPACE_NODE_VERSION=stable
|
WORKSPACE_NODE_VERSION=stable
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
extension=aerospike.so
|
||||||
aerospike.udf.lua_system_path=/usr/local/aerospike/lua
|
aerospike.udf.lua_system_path=/usr/local/aerospike/lua
|
||||||
aerospike.udf.lua_user_path=/usr/local/aerospike/usr-lua
|
aerospike.udf.lua_user_path=/usr/local/aerospike/usr-lua
|
@ -509,6 +509,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
|||||||
apt-get install -y --force-yes imagemagick php-imagick \
|
apt-get install -y --force-yes imagemagick php-imagick \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Terraform:
|
||||||
|
#####################################
|
||||||
|
USER root
|
||||||
|
ARG INSTALL_TERRAFORM=false
|
||||||
|
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
|
||||||
|
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
|
||||||
|
apt-get update -yqq \
|
||||||
|
&& apt-get -y install sudo wget unzip \
|
||||||
|
&& wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
|
||||||
|
&& unzip terraform_0.10.6_linux_amd64.zip \
|
||||||
|
&& mv terraform /usr/local/bin \
|
||||||
|
&& rm terraform_0.10.6_linux_amd64.zip \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
@ -590,6 +590,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
|||||||
apt-get install -y --force-yes imagemagick php-imagick \
|
apt-get install -y --force-yes imagemagick php-imagick \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Terraform:
|
||||||
|
#####################################
|
||||||
|
USER root
|
||||||
|
ARG INSTALL_TERRAFORM=false
|
||||||
|
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
|
||||||
|
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
|
||||||
|
apt-get update -yqq \
|
||||||
|
&& apt-get -y install sudo wget unzip \
|
||||||
|
&& wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
|
||||||
|
&& unzip terraform_0.10.6_linux_amd64.zip \
|
||||||
|
&& mv terraform /usr/local/bin \
|
||||||
|
&& rm terraform_0.10.6_linux_amd64.zip \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
@ -596,6 +596,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
|||||||
apt-get install -y --force-yes imagemagick php-imagick \
|
apt-get install -y --force-yes imagemagick php-imagick \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Terraform:
|
||||||
|
#####################################
|
||||||
|
USER root
|
||||||
|
ARG INSTALL_TERRAFORM=false
|
||||||
|
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
|
||||||
|
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
|
||||||
|
apt-get update -yqq \
|
||||||
|
&& apt-get -y install sudo wget unzip \
|
||||||
|
&& wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
|
||||||
|
&& unzip terraform_0.10.6_linux_amd64.zip \
|
||||||
|
&& mv terraform /usr/local/bin \
|
||||||
|
&& rm terraform_0.10.6_linux_amd64.zip \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
@ -63,7 +63,11 @@ alias artisan="php artisan"
|
|||||||
alias cdump="composer dump-autoload -o"
|
alias cdump="composer dump-autoload -o"
|
||||||
alias composer:dump="composer dump-autoload -o"
|
alias composer:dump="composer dump-autoload -o"
|
||||||
alias db:reset="php artisan migrate:reset && php artisan migrate --seed"
|
alias db:reset="php artisan migrate:reset && php artisan migrate --seed"
|
||||||
|
alias dusk="php artisan dusk"
|
||||||
|
alias fresh="php artisan migrate:fresh"
|
||||||
alias migrate="php artisan migrate"
|
alias migrate="php artisan migrate"
|
||||||
|
alias refresh="php artisan migrate:refresh"
|
||||||
|
alias rollback="php artisan migrate:rollback"
|
||||||
alias seed="php artisan:seed"
|
alias seed="php artisan:seed"
|
||||||
|
|
||||||
alias phpunit="./vendor/bin/phpunit"
|
alias phpunit="./vendor/bin/phpunit"
|
||||||
|
Loading…
Reference in New Issue
Block a user