Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 4438eda9 authored by Dorian Turba's avatar Dorian Turba
Browse files

Merge branch 'trunk'

parents 1a8915cf d538faed
No related branches found
No related tags found
No related merge requests found
Pipeline #38129 passed
[tool.bumpversion] [tool.bumpversion]
commit = true commit = true
current_version = "1.0.0" current_version = "2.0.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}" replace = "{new_version}"
search = "{current_version}" search = "{current_version}"
......
...@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [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 ## [1.0.0] - 2024-06-24
* Initial version * Initial version
...@@ -11,9 +11,9 @@ ARG APP_GID=1000 ...@@ -11,9 +11,9 @@ ARG APP_GID=1000
# Default environment with a non priviledged user. # Default environment with a non priviledged user.
# For ruff < 0.0.20, uncomment following line # 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 # 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_ROOT
ARG APP_USER ARG APP_USER
...@@ -34,7 +34,7 @@ ENV VERSION=${VERSION} ...@@ -34,7 +34,7 @@ ENV VERSION=${VERSION}
ENV PATH=$APP_ROOT/venv/bin:$PATH ENV PATH=$APP_ROOT/venv/bin:$PATH
# For ruff < 0.0.20, uncomment following line # 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 # Never build with root because we don't need priviledged access to
# build, preventing external source code from running as root. # build, preventing external source code from running as root.
...@@ -57,7 +57,7 @@ ARG APP_GID ...@@ -57,7 +57,7 @@ ARG APP_GID
ARG VERSION="" ARG VERSION=""
# For ruff < 0.0.20, uncomment following line # For ruff < 0.0.20, uncomment following line
RUN apk add libgcc #RUN apk add libgcc
USER $APP_UID USER $APP_UID
WORKDIR $APP_ROOT WORKDIR $APP_ROOT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment