We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7c8c3 commit 1f44852Copy full SHA for 1f44852
1 file changed
CloudKitty/processor/Dockerfile
@@ -1,5 +1,19 @@
1
-FROM python:3.7-buster
+FROM python:3.7-slim-buster
2
3
-RUN pip install cloudkitty PyMySQL
+RUN apt-get update \
4
+ && apt-get install --no-install-recommends -y \
5
+ gcc \
6
+ python3-dev \
7
+ && pip install cloudkitty PyMySQL \
8
+ && mkdir \
9
+ /etc/cloudkitty \
10
+ /etc/cloudkitty-config \
11
+ && apt-get purge -y \
12
13
14
+ && apt-get clean -y \
15
+ && rm -rf /var/cache/apt \
16
+ && rm -rf /var/lib/apt/lists/* \
17
+ && mkdir /etc/cloudkitty
18
19
CMD [ "cloudkitty-processor" ]
0 commit comments