From 01080ff153e30043d2b64141065659a4333ea791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20Ren=C3=A9=20Koch?= Date: Thu, 15 Feb 2024 08:35:05 +0100 Subject: [PATCH] Update dependencies --- Dockerfile | 5 +++-- README.md | 4 ++-- requirements.txt | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7ac230..bbff36e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM python:3.11-alpine as base +# Stick to Python 3.11 until Nuitka supports Python 3.12 +FROM python:3.11-alpine@sha256:d1975f2182c9962f5daa1ad935eb092e3e32dce11d8105cb3584a31afc7b451b as base ENV PYTHONUNBUFFERED 1 FROM base as builder @@ -31,5 +32,5 @@ COPY tests/ /tests/ WORKDIR /tests RUN python3 -m unittest discover -v -s . -FROM alpine:3.18.3 +FROM alpine:3.19@sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0 COPY --from=native-builder /install/harbor.bin /usr/local/harbor diff --git a/README.md b/README.md index e93d46e..54c8a46 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # harbor-day2-operator -The harbor day2 operator is for automated managment of existing harbor instances using python harbor-api +The harbor day2 operator is for automated management of existing harbor instances using python harbor-api ## Linter We have activated linter like hadolint for dockerfiles. Please run -all the linters like dokumented underneath before checkin of source +all the linters like documented underneath before checkin of source code. Pull requests are only accepted when no linting errors occur. ### hadolint diff --git a/requirements.txt b/requirements.txt index 75cdd6d..a36775a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -harborapi==0.22.3 +harborapi==0.23.1