Skip to content

Commit

Permalink
chore: update deps (#20)
Browse files Browse the repository at this point in the history
* chore: update dependencies

* chore: update trivy, hadolint, tini

* chore: bumping version from 2.2.1 to 2.2.2
  • Loading branch information
toolen committed Dec 25, 2022
1 parent 83fa88c commit c0aaba1
Show file tree
Hide file tree
Showing 5 changed files with 904 additions and 746 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.10.2-slim-bullseye@sha256:e8c51ac54aa716f465eb7293130535307fcfae9b864e433ca60d843561c86ef6 AS builder
FROM python:3.10.9-slim-bullseye@sha256:6862d8ed663a47f649ba5aababed01e44741a032e80d5800db619f5113f65434 AS builder

LABEL maintainer="dmitrii@zakharov.cc"
LABEL org.opencontainers.image.source="https://github.com/toolen/passgen"
Expand Down Expand Up @@ -28,7 +28,7 @@ COPY ./poetry.lock ./pyproject.toml /code/

RUN poetry export --no-ansi --no-interaction --output requirements.txt

FROM python:3.10.2-alpine3.15@sha256:60469fac3d4c1c4781465b18f1a89d8dd2a01af9bb799d17836b972fcc463da9 AS runner
FROM python:3.10.9-alpine3.17@sha256:d8a484baabf7d2337d34cdef6730413ea1feef4ba251784f9b7a8d7b642041b3 AS runner

LABEL maintainer="dmitrii@zakharov.cc"
LABEL org.opencontainers.image.source="https://github.com/toolen/passgen"
Expand All @@ -50,7 +50,7 @@ ENV \
RUN set -ex \
&& apk upgrade \
&& apk add --no-cache \
tini==0.19.0-r0 \
tini==0.19.0-r1 \
&& addgroup -g 1000 -S app \
&& adduser -h /app -G app -S -u 1000 app

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package_name = passgen
repository = toolen/passgen
version = $(shell poetry version -s)
tag = ghcr.io/$(repository):$(version)
hadolint_version=2.8.0
trivy_version=0.23.0
hadolint_version=2.12.0
trivy_version=0.35.0

image:
export DOCKER_BUILDKIT=1
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ Docker

Use docker container::

docker run -d -p 8080:8080 --restart=always --cap-drop=ALL ghcr.io/toolen/passgen:2.2.1
docker run -d -p 8080:8080 --restart=always --cap-drop=ALL ghcr.io/toolen/passgen:2.2.2
Loading

0 comments on commit c0aaba1

Please sign in to comment.