Skip to content

Commit 536aa4d

Browse files
author
Marc Schöchlin
committed
change to ubuntu image
1 parent a7feee5 commit 536aa4d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-alpine
1+
FROM python:3.9
22
LABEL maintainer="operations@vico-research.com"
33
LABEL Description="zabbix-kubernetes - efficent kubernetes monitoring for zabbix"
44

@@ -12,13 +12,15 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST "1"
1212

1313
COPY --chown=nobody:users requirements.txt /app/requirements.txt
1414

15-
RUN apk update && \
16-
apk add build-base libffi-dev libffi openssl-dev bash screen && \
17-
pip install --upgrade pip && \
18-
pip install -r /app/requirements.txt && \
19-
apk upgrade --update-cache --available && \
20-
apk del build-base openssl-dev libffi-dev && \
21-
rm -rf /var/cache/apk/
15+
RUN apt-get update -y && \
16+
apt-get install libffi-dev libffi7 libssl-dev bash screen ncdu -y && \
17+
pip3 install --upgrade pip && \
18+
pip3 install -r /app/requirements.txt && \
19+
apt-get upgrade -y && \
20+
apt-get dist-upgrade -y && \
21+
apt-get remove base libssl-dev libffi-dev gcc -y && \
22+
apt-get autoremove -y && \
23+
rm -rf /var/lib/apt/lists/* /root/.cache
2224

2325
COPY --chown=nobody:users base /app/base
2426
COPY --chown=nobody:users k8sobjects /app/k8sobjects

0 commit comments

Comments
 (0)