Skip to content

Commit

Permalink
migrate docker image to alpine 3.20,x (#141)
Browse files Browse the repository at this point in the history
* Update Dockerfile

Fix #140  , #139 
* Moved to alpine 3.30
* Moved from yq to yq-go
* Added pcre-dev

* Update requirements.txt

Fix #138
  • Loading branch information
MdreW authored Jul 25, 2024
1 parent a7e245d commit 90f8f66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.19.1
FROM alpine:3.20

# Metadata params
ARG BUILD_DATE
Expand Down Expand Up @@ -31,7 +31,7 @@ COPY requirements.txt /

ENV BASEDIR="/satosa_proxy"

RUN apk add --update xmlsec libffi-dev openssl-dev python3 py3-pip python3-dev procps git openssl build-base gcc wget bash jq yq
RUN apk add --update xmlsec libffi-dev openssl-dev python3 py3-pip python3-dev procps git openssl build-base gcc wget bash jq yq-go pcre-dev

RUN python3 -m venv .venv && . .venv/bin/activate && pip3 install --upgrade pip setuptools \
&& pip3 install -r requirements.txt --ignore-installed --root-user-action=ignore && mkdir $BASEDIR
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jinja2>=3.0,<4
pymongo # >=4.3,<4.5
requests # >=2.2,<2.3
asyncio
aiohttp>=3.8,<3.9
aiohttp>=3.9,<3.10
sd-jwt

0 comments on commit 90f8f66

Please sign in to comment.