Skip to content

Commit

Permalink
fix missing MYMETA.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanwh committed Sep 10, 2022
1 parent 9a5c095 commit f49e943
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Bugzilla/Install/Localconfig.pm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ our @EXPORT_OK = qw(
);

# might want to change this for upstream
use constant ENV_PREFIX => 'BMO_';
use constant ENV_PREFIX => 'BZ_';
use constant PARAM_OVERRIDE =>
qw( use_mailer_queue mail_delivery_method shadowdb shadowdbhost shadowdbport shadowdbsock );

Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ WORKDIR /app
COPY --from=builder /app/PACKAGES /app/PACKAGES
RUN apt-get update -y && apt-get install -y $(cat PACKAGES)
COPY --from=builder /app/local /app/local
COPY --from=builder /app/MYMETA.* /app/
COPY ./ /app/
env LOCALCONFIG_ENV 1
ENTRYPOINT ["perl", "bugzilla.pl"]
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ say $fh q{RUN apt-get update -y && apt-get install -y $(cat PACKAGES) };
# several lines should be merged together, and we need to make sure to clean up
# the apt package cache after installing packages to maintain a small image size
say $fh q{COPY --from=builder /app/local /app/local};
say $fh q{COPY --from=builder /app/MYMETA.* /app/};
say $fh q{COPY ./ /app/};

say $fh q{env LOCALCONFIG_ENV 1};
Expand Down

0 comments on commit f49e943

Please sign in to comment.