File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11version : ' 2'
22services :
33 bugzilla :
4- image : uneet/bugzilla-customisation
4+ image : uneet/bugzilla-customisation:$COMMIT
55 restart : on-failure
66 mem_reservation : 1g
77 mem_limit : 3g # assuming a t2.medium host with 4GB of RAM
@@ -17,7 +17,6 @@ services:
1717 MYSQL_USER : ${MYSQL_USER}
1818 MYSQL_PASSWORD : ${MYSQL_PASSWORD}
1919 PARAMS_URL : ${PARAMS_URL}
20- COMMIT : ${COMMIT}
2120 logging :
2221 driver : awslogs
2322 options :
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ RUN a2dissite 000-default
1616
1717# END STUFF FOR BASE IMAGE
1818
19- RUN git clone -b synthesis https://github.com/bugzilla/bugzilla.git /opt/bugzilla
19+ ARG BUGZILLA_BRANCH="5.2"
20+
21+ RUN git clone -b $BUGZILLA_BRANCH https://github.com/bugzilla/bugzilla.git /opt/bugzilla
2022WORKDIR /opt/bugzilla
2123COPY gen-cpanfile.pl /usr/local/bin/gen-cpanfile.pl
2224RUN perl Build.PL && \
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ chown -R :www-data /opt/bugzilla/data
3737BZ_COMMIT=$( git --git-dir=/opt/bugzilla/.git describe --always)
3838echo BZ_COMMIT: $BZ_COMMIT
3939
40- # TEMPLATE=/opt/bugzilla/template/en/custom/index.html.tmpl
4140TEMPLATE=/opt/bugzilla/template/en/custom/index.html.tmpl
4241if ! grep -q " header_addl_info" $TEMPLATE
4342then
You can’t perform that action at this time.
0 commit comments