Skip to content

Commit e78971c

Browse files
authored
Merge pull request #460 from mautic/dev
fix: MAUTIC_VERSION arg
2 parents 3cedf23 + cf5dae6 commit e78971c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/pr_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
platforms: linux/amd64
3434
build-args: |
3535
BASE_TAG=8.3-apache-bookworm
36-
MAUTIC_VERSION=6.x-dev
36+
MAUTIC_VERSION=6.0.7
3737
FLAVOUR=${{ matrix.image_type }}
3838
3939
- name: Save image to tar file

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Define base image verison
22
ARG BASE_TAG=8.3-apache-bookworm
33

4-
# Define Mautic version by package tag
5-
ARG MAUTIC_VERSION=6.x-dev
6-
74
FROM php:${BASE_TAG} AS builder
85

96
# Copy everything from common for building
@@ -61,8 +58,10 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin -
6158

6259
RUN echo "memory_limit = -1" > /usr/local/etc/php/php.ini
6360

64-
RUN echo "########################### \n ${MAUTIC_VERSION} \n #########################" && \
65-
cd /opt && \
61+
# Define Mautic version by package tag
62+
ARG MAUTIC_VERSION=6.x-dev
63+
64+
RUN cd /opt && \
6665
COMPOSER_ALLOW_SUPERUSER=1 COMPOSER_PROCESS_TIMEOUT=10000 composer create-project mautic/recommended-project:${MAUTIC_VERSION} mautic --no-interaction && \
6766
rm -rf /opt/mautic/var/cache/js && \
6867
find /opt/mautic/node_modules -mindepth 1 -maxdepth 1 -not \( -name 'jquery' -or -name 'vimeo-froogaloop2' \) | xargs rm -rf

0 commit comments

Comments
 (0)