Skip to content

Commit e19ee64

Browse files
author
Kai Hendry
committed
Move to IMAGE:$COMMIT and try 5.2 branch (same as synthesis)
1 parent 288ce9d commit e19ee64

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

AWS-docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
services:
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:

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
2022
WORKDIR /opt/bugzilla
2123
COPY gen-cpanfile.pl /usr/local/bin/gen-cpanfile.pl
2224
RUN perl Build.PL && \

start

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ chown -R :www-data /opt/bugzilla/data
3737
BZ_COMMIT=$(git --git-dir=/opt/bugzilla/.git describe --always)
3838
echo BZ_COMMIT: $BZ_COMMIT
3939

40-
#TEMPLATE=/opt/bugzilla/template/en/custom/index.html.tmpl
4140
TEMPLATE=/opt/bugzilla/template/en/custom/index.html.tmpl
4241
if ! grep -q "header_addl_info" $TEMPLATE
4342
then

0 commit comments

Comments
 (0)