Skip to content

Commit

Permalink
Merge pull request #26 from dpamnezia/main
Browse files Browse the repository at this point in the history
Switch Docker Image to Ubuntu 24.04
  • Loading branch information
shipilovds authored Oct 8, 2024
2 parents 12d8cbb + f9d4674 commit ecd8b85
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.12.5-slim-bookworm AS exporter
ARG DEBIAN_FRONTEND=noninteractive
RUN pip3 install --no-cache-dir \
FROM ubuntu:24.04 AS exporter
RUN apt-get update && \
apt-get install python3-pip -y && \
pip3 install --no-cache-dir --break-system-packages \
prometheus_client==0.20.0 \
python-decouple==3.8 \
requests==2.32.3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all ci docker_build docker_retag docker_login docker_push

VERSION := 2.4.0
VERSION := 2.5.0
PROJECT_NAME ?= amneziavpn/amneziawg-exporter
DOCKER_BUILDKIT ?= 1
DOCKER_REGISTRY ?= docker.io
Expand Down
2 changes: 1 addition & 1 deletion exporter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import logging
import sys
Expand Down

0 comments on commit ecd8b85

Please sign in to comment.