Skip to content

Commit 9db80a9

Browse files
committed
Magento 2.2.5
1 parent 55ba6aa commit 9db80a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM outeredge/edge-docker-php:7.1.17-alpine
22

3-
ENV MAGENTO_VERSION=2.2.4 \
3+
ENV MAGENTO_VERSION=2.2.5 \
44
MAGE_MODE=default \
55
ADDITIONAL_STORES=
66

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

1111
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' && \
12+
sed -i '/$relativePath = $request->getPathInfo();/a $relativePath = ltrim(ltrim($relativePath, "media"), "/");' /var/www/pub/get.php && \
1213
chmod +x /var/www/bin/magento && \
1314
cp /var/www/nginx.conf.sample /etc/nginx/magento_default.conf && \
1415
chown -R edge:edge /var/www

0 commit comments

Comments
 (0)