File tree Expand file tree Collapse file tree 3 files changed +27
-11
lines changed
Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1+ *
2+ ! etc
3+ ! mqttwarn
4+ ! tests
5+ ! setup.py
6+ ! MANIFEST.in
7+ ! * .ini
8+ ! * .md
9+ ! * .rst
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ mqttwarn changelog
66in progress
77===========
88
9+ - [build] Fix unwanted cache hits when automatically building Docker images
10+
911
10122021-06-03 0.21.0
1113=================
Original file line number Diff line number Diff line change 1+ # Docker build file for mqttwarn.
2+ # Based on https://github.com/pfichtner/docker-mqttwarn.
3+ #
4+ # Invoke like:
5+ #
6+ # docker build --tag=mqttwarn-local .
7+ #
18FROM python:3.9-slim-buster
29
3- # based on https://github.com/pfichtner/docker-mqttwarn
10+ # Install mqttwarn
11+ COPY . /src
12+ RUN pip install /src
413
5- # install mqttwarn
6- RUN pip install mqttwarn
7-
8- # create /etc/mqttwarn
14+ # Create /etc/mqttwarn
915RUN mkdir -p /etc/mqttwarn
1016WORKDIR /etc/mqttwarn
1117
12- # add user mqttwarn to image
18+ # Add user " mqttwarn"
1319RUN groupadd -r mqttwarn && useradd -r -g mqttwarn mqttwarn
1420RUN chown -R mqttwarn:mqttwarn /etc/mqttwarn
1521
16- # process run as mqttwarn user
22+ # Make process run as " mqttwarn" user
1723USER mqttwarn
1824
19- # conf file from host
25+ # Use configuration file from host
2026VOLUME ["/etc/mqttwarn" ]
2127
22- # set conf path
28+ # Set default configuration path
2329ENV MQTTWARNINI="/etc/mqttwarn/mqttwarn.ini"
2430
25- # run process
31+ # Invoke program
2632CMD mqttwarn
27-
You can’t perform that action at this time.
0 commit comments