Skip to content

Commit 094120a

Browse files
committed
- 3.11dev2 from test.pypi.org
1 parent 73e83ac commit 094120a

File tree

8 files changed

+18
-29
lines changed

8 files changed

+18
-29
lines changed

Changelog

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
Version 3.10.2, 2025-01-30
1+
Version 3.11dev2, 2025-02-05
22

3-
Enhancements:
4-
* Removed bash scripting including shaky logic
5-
* NGINX Template including landing site if container is not ready yet
6-
* More values for pi.cfg
7-
* Removed unecessary binds
8-
* New persistent logic, file location inside container (app, configuration,...)
9-
10-
Changed:
11-
* Using entrypoint.py instead of bash script
12-
* Using privacyIDEA application context calls for entrypoint.py (create_db...)
13-
14-
Fixes:
15-
* Fix some minor problems
3+
Release for testing
164

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
FROM cgr.dev/chainguard/wolfi-base AS builder
66

77
ARG PYVERSION=3.12
8-
ARG PI_VERSION=3.10.2
9-
ARG PI_REQUIREMENTS=3.10.2
8+
ARG PI_VERSION=3.11dev2
9+
ARG PI_REQUIREMENTS=3.11dev2
1010
ARG GUNICORN==23.0.0
1111
ARG PSYCOPG2==2.9.10
1212
ARG PYKCS11==1.5.14
@@ -23,14 +23,15 @@ RUN apk add python-${PYVERSION} py${PYVERSION}-pip python3-dev && \
2323

2424
USER nonroot
2525
RUN python -m venv /privacyidea/venv
26-
RUN pip install -r https://raw.githubusercontent.com/privacyidea/privacyidea/v${PI_REQUIREMENTS}/requirements.txt
27-
RUN pip install psycopg2-binary==${PSYCOPG2} privacyidea==${PI_VERSION} gunicorn==${GUNICORN}
26+
RUN pip install -r https://raw.githubusercontent.com/privacyidea/privacyidea/refs/tags/v${PI_REQUIREMENTS}/requirements.txt
27+
RUN pip install psycopg2-binary==${PSYCOPG2} gunicorn==${GUNICORN}
28+
RUN pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple privacyIDEA==${PI_VERSION}
2829
#RUN pip install -r https://raw.githubusercontent.com/privacyidea/privacyidea/v${PI_REQUIREMENTS}/requirements-kerberos.txt
2930
# Workaroud for https://github.com/privacyidea/privacyidea/issues/4127
3031
#RUN pip install -r https://raw.githubusercontent.com/privacyidea/privacyidea/v${PI_REQUIREMENTS}/requirements-hsm.txt
3132
#RUN pip install pykcs11==${PYKCS11}
3233

33-
ADD https://raw.githubusercontent.com/privacyidea/privacyidea/v${PI_REQUIREMENTS}/deploy/privacyidea/NetKnights.pem /privacyidea/etc/persistent/
34+
ADD https://raw.githubusercontent.com/privacyidea/privacyidea/refs/tags/v${PI_REQUIREMENTS}/deploy/privacyidea/NetKnights.pem /privacyidea/etc/persistent/
3435

3536
COPY conf/pi.cfg /privacyidea/etc/
3637
COPY conf/logging.cfg /privacyidea/etc/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PI_VERSION := 3.10.2
2-
PI_VERSION_BUILD := 3.10.2
1+
PI_VERSION := "3.11dev2"
2+
PI_VERSION_BUILD := "3.11dev2"
33
IMAGE_NAME := privacyidea-docker:${PI_VERSION}
44

55
BUILDER := docker build

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Sample images from this project can be found here:
6666
| [ghcr.io](https://github.com/gpappsoft/privacyidea-docker/pkgs/container/privacyidea-docker)| ```docker pull ghcr.io/gpappsoft/privacyidea-docker:latest```|
6767

6868
> [!Note]
69-
> ```latest``` tagged image is maybe a pre- or development-release. Please use always a release number (like ```3.11```)
69+
> ```latest``` tagged image is maybe a pre- or development-release. Please use always a release number (like ```3.11dev2```)
7070
7171
## Quickstart
7272

@@ -119,7 +119,7 @@ You can use *Makefile* targets to build different images with different privacyI
119119

120120
#### Build a specific privacyIDEA version
121121
```
122-
make build PI_VERSION=3.11 PI_VERSION_BUILD=3.11
122+
make build PI_VERSION=3.11dev2 PI_VERSION_BUILD=3.11dev2
123123
```
124124

125125
#### Push to a registry
@@ -146,7 +146,7 @@ make distclean
146146

147147
| target | optional ARGS | description | example
148148
---------|----------|---|---------
149-
| ```build ``` | ```PI_VERSION```<br> ```IMAGE_NAME```|Build an image. Optional: specify the version, requirements version and image name| ```make build PI_VERSION=3.11 PI_VERSION_BUILD=3.11```|
149+
| ```build ``` | ```PI_VERSION```<br> ```IMAGE_NAME```|Build an image. Optional: specify the version, requirements version and image name| ```make build PI_VERSION=3.11dev2 PI_VERSION_BUILD=3.11dev2```|
150150
| ```push``` | ```REGISTRY```|Tag and push the image to the registry. Optional: specify the registry URI. Defaults to *localhost:5000*| ```make push REGISTRY=docker.io/gpappsoft/privacyidea-docker```|
151151
| ```run``` | ```PORT``` <br> ```TAG``` |Run a standalone container with gunicorn and sqlite. Optional: specify the prefix tag of the container name and listen port. Defaults to *pi* and port *8080*| ```make run TAG=prod PORT=8888```|
152152
| ```secret``` | |Generate secrets to use in an environment file | ```make secret```|
@@ -270,7 +270,7 @@ You can start the stack in the background with console detached using the **-d**
270270

271271
Full example including build with ```make```targets:
272272
```
273-
make cert build push stack PI_VERSION=3.11 PI_VERSION_BUILD=3.11 TAG=pidev
273+
make cert build push stack PI_VERSION=3.11dev2 PI_VERSION_BUILD=3.11dev2 TAG=pidev
274274
```
275275
---
276276
Now you can deploy additional containers like OpenLDAP for user realms or Owncloud as a client to test 2FA authentication.

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
- openldap
2222

2323
privacyidea:
24-
image: gpappsoft/privacyidea-docker:${PI_VERSION}
24+
image: privacyidea-docker:${PI_VERSION}
2525
deploy:
2626
restart_policy:
2727
condition: unless-stopped

environment/application-dev.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ENVIRONMENT="environment/application-dev.env"
22

33
# PrivacyIDEA
4-
PI_VERSION=3.11
4+
PI_VERSION=3.11dev2
55
PI_ADMIN=admin
66
PI_ADMIN_PASS=admin
77
PI_PORT=8080

environment/application-prod.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ENVIRONMENT="environment/application-prod.env"
22

33
# PrivacyIDEA
4-
PI_VERSION=3.10.2
4+
PI_VERSION=3.11dev2
55
PI_ADMIN=admin
66
PI_ADMIN_PASS=admin
77
PI_ADDRESS=0.0.0.0

podman-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ podman run --pod pi -dt --name=privacyidea \
6565
-e PI_PEPPER=/var/run/PI_PEPPER \
6666
-e DB_HOST="localhost" \
6767
-e DB_EXTRA_PARAMS="?charset=utf8" \
68-
--restart=always gpappsoft/privacyidea-docker:3.11
68+
--restart=always gpappsoft/privacyidea-docker:3.11dev2
6969

7070
# start reverse_proxy
7171
podman run --pod pi -dt --name=reverse_proxy \

0 commit comments

Comments
 (0)