Skip to content

Commit

Permalink
OPS-0 Update base image
Browse files Browse the repository at this point in the history
  • Loading branch information
snovikov committed Jun 17, 2024
1 parent b942f32 commit 9cc7c96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-alpine3.13 as builder
FROM python:3.12-alpine3.20 as builder

COPY ./ /data
RUN set -eux \
Expand All @@ -11,8 +11,8 @@ RUN set -eux \
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf


# 3.14 uses Python 3.9 as default
FROM alpine:3.14 as production
# 3.20 uses Python 3.12 as default
FROM alpine:3.20 as production
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
#LABEL "org.opencontainers.image.created"=""
#LABEL "org.opencontainers.image.version"=""
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ endif
# Can be changed
# -------------------------------------------------------------------------------------------------
# This can be adjusted
PYTHON_VERSION = 3.8
PYLINT_VERSION = latest-0.6
MYPY_VERSION = latest-0.4
PYTHON_VERSION = 3.12
PYLINT_VERSION = latest-0.8
MYPY_VERSION = latest-py3.10

# -------------------------------------------------------------------------------------------------
# Default configuration
Expand All @@ -27,7 +27,7 @@ IMAGE = flaconi/slackbot-pagey
TAG = latest


FL_VERSION = 0.4
FL_VERSION = latest-0.8
FL_IGNORES = .git/,.github/,$(NAME).egg-info,.mypy_cache/,$(ENV)


Expand Down

0 comments on commit 9cc7c96

Please sign in to comment.