From 5f337190d461963d789b53602f61e94e44538d3c Mon Sep 17 00:00:00 2001 From: Rafael Zago Date: Thu, 12 Dec 2024 13:08:33 -0300 Subject: [PATCH] Fixing alpine version Signed-off-by: Rafael Zago --- Dockerfile | 49 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05ff260..5063e90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,29 +1,28 @@ -FROM alpine:latest +FROM alpine:3.16 -# Install base tools without tshark RUN apk update && apk add --no-cache \ - bash \ - curl \ - wget \ - tar \ - traceroute \ - openssl \ - iperf \ - busybox-extras \ - nmap \ - netcat-openbsd \ - tcpdump \ - mtr \ - socat \ - bind-tools \ - iproute2 \ - openssh-client \ - python3 \ - procps \ - coreutils \ - mongodb-tools \ - postgresql-client \ - py3-flask + bash \ + curl \ + wget \ + tar \ + traceroute \ + openssl \ + iperf \ + busybox-extras \ + nmap \ + netcat-openbsd \ + tcpdump \ + mtr \ + socat \ + bind-tools \ + iproute2 \ + openssh-client \ + python3 \ + procps \ + coreutils \ + mongodb-tools \ + postgresql-client \ + py3-flask # Install Go 1.22.8 manually to /usr/local/go ENV GO_VERSION=1.22.8 @@ -44,4 +43,4 @@ COPY app.py /app.py EXPOSE 5000 # Run the Flask app -CMD ["python3", "/app.py"] \ No newline at end of file +CMD ["python3", "/app.py"]