Skip to content

Commit

Permalink
Magento 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell committed Jul 6, 2018
1 parent 55ba6aa commit 9db80a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM outeredge/edge-docker-php:7.1.17-alpine

ENV MAGENTO_VERSION=2.2.4 \
ENV MAGENTO_VERSION=2.2.5 \
MAGE_MODE=default \
ADDITIONAL_STORES=

Expand All @@ -9,6 +9,7 @@ CMD ["/run.sh"]
COPY . /

RUN wget https://github.com/outeredge/edge-docker-magento/releases/download/v${MAGENTO_VERSION}/Magento-CE-${MAGENTO_VERSION}.tar.bz2 -O - | tar -jxf - -C /var/www --exclude='composer.lock' --exclude='*.md' && \
sed -i '/$relativePath = $request->getPathInfo();/a $relativePath = ltrim(ltrim($relativePath, "media"), "/");' /var/www/pub/get.php && \
chmod +x /var/www/bin/magento && \
cp /var/www/nginx.conf.sample /etc/nginx/magento_default.conf && \
chown -R edge:edge /var/www

0 comments on commit 9db80a9

Please sign in to comment.