diff --git a/.bumpversion.toml b/.bumpversion.toml index fa69c63cdb5c8dbe369ff78750b946f6c7402621..c67b4f3e6f14ee99fe1b780fa1e811f77b775252 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,6 +1,6 @@ [tool.bumpversion] commit = true -current_version = "1.0.0" +current_version = "2.0.0" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" replace = "{new_version}" search = "{current_version}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 12e582062c9206231a412713e3d60d40b979b601..c3019c1f08f8121832a29229da5dbbe46181787e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] - 2024-06-25 + +### Changed + +* Dockerfile no longer install cargo and maturin for ruff compilation, making the + image building process quicker, at the expense of not being able to build ruff + for version lower than 0.0.20 + ## [1.0.0] - 2024-06-24 * Initial version diff --git a/Dockerfile b/Dockerfile index 6a7e012169c58f7ea840e82e9f1282a4c30d49b3..05444841e4301df210488d9185f463f79d762591 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ ARG APP_GID=1000 # Default environment with a non priviledged user. # For ruff < 0.0.20, uncomment following line -FROM python:3.12.0-alpine3.18 as base +#FROM python:3.12.0-alpine3.18 as base # For ruff < 0.0.20, comment following line -#FROM python:alpine as base +FROM python:3.12.4-alpine3.20 as base ARG APP_ROOT ARG APP_USER @@ -34,7 +34,7 @@ ENV VERSION=${VERSION} ENV PATH=$APP_ROOT/venv/bin:$PATH # For ruff < 0.0.20, uncomment following line -RUN apk add --no-cache maturin cargo +#RUN apk add --no-cache maturin cargo # Never build with root because we don't need priviledged access to # build, preventing external source code from running as root. @@ -57,7 +57,7 @@ ARG APP_GID ARG VERSION="" # For ruff < 0.0.20, uncomment following line -RUN apk add libgcc +#RUN apk add libgcc USER $APP_UID WORKDIR $APP_ROOT