File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
8989 docker-php-ext-enable memcached \
9090;fi
9191
92+ #####################################
93+ # Opcache:
94+ #####################################
95+ RUN docker-php-ext-install opcache
96+ RUN docker-php-ext-enable opcache
97+
9298
9399#
94100#--------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -100,6 +100,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
100100 && docker-php-ext-enable memcached \
101101;fi
102102
103+ #####################################
104+ # Opcache:
105+ #####################################
106+ RUN docker-php-ext-install opcache
107+ RUN docker-php-ext-enable opcache
108+
103109
104110#
105111#--------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -97,6 +97,20 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
9797 composer global install \
9898;fi
9999
100+ # ####################################
101+ # Drush:
102+ # ####################################
103+ ENV DRUSH_VERSION 8.1.2
104+
105+ # Install Drush 8 with the phar file.
106+ USER root
107+ RUN curl -fsSL -o /usr/local/bin/drush "https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar" && \
108+ chmod +x /usr/local/bin/drush
109+
110+ # Check if drush works for the laradock user
111+ USER laradock
112+ RUN drush core-status
113+
100114# ####################################
101115# Node / NVM:
102116# ####################################
You can’t perform that action at this time.
0 commit comments