Skip to content

Commit 221edf4

Browse files
authored
Merge pull request laradock#23 from laradock/master
Just update the fork
2 parents f2420ec + 5a073ae commit 221edf4

8 files changed

Lines changed: 53 additions & 1 deletion

File tree

DOCUMENTATION/content/documentation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,6 +1681,6 @@ This error sometimes happens because your Laravel application isn't running on t
16811681
* Option B
16821682
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`
16831683

1684-
## I get stuck when building ngxinx on `fetch http://mirrors.aliyun.com/alpine/v3.5/main/x86_64/APKINDEX.tar.gz`
1684+
## I get stuck when building nginx on `fetch http://mirrors.aliyun.com/alpine/v3.5/main/x86_64/APKINDEX.tar.gz`
16851685

16861686
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.

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ services:
3838
- INSTALL_PYTHON=${WORKSPACE_INSTALL_PYTHON}
3939
- INSTALL_IMAGE_OPTIMIZERS=${WORKSPACE_INSTALL_IMAGE_OPTIMIZERS}
4040
- INSTALL_IMAGEMAGICK=${WORKSPACE_INSTALL_IMAGEMAGICK}
41+
- INSTALL_TERRAFORM=${WORKSPACE_INSTALL_TERRAFORM}
4142
- PUID=${WORKSPACE_PUID}
4243
- PGID=${WORKSPACE_PGID}
4344
- NODE_VERSION=${WORKSPACE_NODE_VERSION}

env-example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ WORKSPACE_INSTALL_SYMFONY=false
5151
WORKSPACE_INSTALL_PYTHON=false
5252
WORKSPACE_INSTALL_IMAGE_OPTIMIZERS=false
5353
WORKSPACE_INSTALL_IMAGEMAGICK=false
54+
WORKSPACE_INSTALL_TERRAFORM=false
5455
WORKSPACE_PUID=1000
5556
WORKSPACE_PGID=1000
5657
WORKSPACE_NODE_VERSION=stable

php-fpm/aerospike.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
extension=aerospike.so
12
aerospike.udf.lua_system_path=/usr/local/aerospike/lua
23
aerospike.udf.lua_user_path=/usr/local/aerospike/usr-lua

workspace/Dockerfile-56

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
509509
apt-get install -y --force-yes imagemagick php-imagick \
510510
;fi
511511

512+
#####################################
513+
# Terraform:
514+
#####################################
515+
USER root
516+
ARG INSTALL_TERRAFORM=false
517+
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
518+
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
519+
apt-get update -yqq \
520+
&& apt-get -y install sudo wget unzip \
521+
&& wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
522+
&& unzip terraform_0.10.6_linux_amd64.zip \
523+
&& mv terraform /usr/local/bin \
524+
&& rm terraform_0.10.6_linux_amd64.zip \
525+
;fi
526+
512527
#
513528
#--------------------------------------------------------------------------
514529
# Final Touch

workspace/Dockerfile-70

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
590590
apt-get install -y --force-yes imagemagick php-imagick \
591591
;fi
592592

593+
#####################################
594+
# Terraform:
595+
#####################################
596+
USER root
597+
ARG INSTALL_TERRAFORM=false
598+
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
599+
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
600+
apt-get update -yqq \
601+
&& apt-get -y install sudo wget unzip \
602+
&& wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
603+
&& unzip terraform_0.10.6_linux_amd64.zip \
604+
&& mv terraform /usr/local/bin \
605+
&& rm terraform_0.10.6_linux_amd64.zip \
606+
;fi
607+
593608
#
594609
#--------------------------------------------------------------------------
595610
# Final Touch

workspace/Dockerfile-71

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
596596
apt-get install -y --force-yes imagemagick php-imagick \
597597
;fi
598598

599+
#####################################
600+
# Terraform:
601+
#####################################
602+
USER root
603+
ARG INSTALL_TERRAFORM=false
604+
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
605+
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
606+
apt-get update -yqq \
607+
&& apt-get -y install sudo wget unzip \
608+
&& wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
609+
&& unzip terraform_0.10.6_linux_amd64.zip \
610+
&& mv terraform /usr/local/bin \
611+
&& rm terraform_0.10.6_linux_amd64.zip \
612+
;fi
613+
599614
#
600615
#--------------------------------------------------------------------------
601616
# Final Touch

workspace/aliases.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ alias artisan="php artisan"
6363
alias cdump="composer dump-autoload -o"
6464
alias composer:dump="composer dump-autoload -o"
6565
alias db:reset="php artisan migrate:reset && php artisan migrate --seed"
66+
alias dusk="php artisan dusk"
67+
alias fresh="php artisan migrate:fresh"
6668
alias migrate="php artisan migrate"
69+
alias refresh="php artisan migrate:refresh"
70+
alias rollback="php artisan migrate:rollback"
6771
alias seed="php artisan:seed"
6872

6973
alias phpunit="./vendor/bin/phpunit"

0 commit comments

Comments
 (0)