1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-12-07 23:03:21 +02:00

Process code review remarks

- Moved run to bottom of Dockerfile to allow using unmodified / cached states.
- Simplified bash code in deploy.sh.
- Improved the large bash one-liner in CI.yml. It could not handle >9 for 1.x.
This commit is contained in:
Dimitri Huisman
2021-11-18 17:21:56 +00:00
parent 56dd70cf4a
commit f7677543c6
17 changed files with 30 additions and 29 deletions

View File

@@ -5,7 +5,6 @@ ARG VERSION
ENV TZ Etc/UTC
LABEL version=$VERSION
RUN echo $VERSION >> /version
# python3 shared with most images
RUN apk add --no-cache \
@@ -41,3 +40,4 @@ EXPOSE 5432
CMD /start.py
HEALTHCHECK CMD psql -h 127.0.0.1 -d postgres -U health -c "select 1 as ok;" || exit 1
RUN echo $VERSION >> /version