Skip to content

Commit

Permalink
Merge pull request #69 from rzetelskik/poetry-1.8
Browse files Browse the repository at this point in the history
Add poetry 1.8 image
  • Loading branch information
scylla-operator-bot[bot] authored Sep 30, 2024
2 parents 2724b86 + 449d33d commit be4ee50
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions image-spec.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ context_dir,image_tag,from_tag
./kube-tools/latest,kube-tools,
./node-setup,node-setup,base-ubi-9.4-minimal
./poetry/1.5,poetry-1.5,
./poetry/1.8,poetry-1.8,base-ubi-9.4-minimal
./buildah/latest,buildah,
16 changes: 16 additions & 0 deletions poetry/1.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM to-be-replaced-by-local-ref/base:ubi-9.4-minimal

RUN set -euExo pipefail && shopt -s inherit_errexit && \
microdnf update -y && \
microdnf install -y make python3.9 git && \
microdnf clean all && \
rm -rf /var/cache/dnf/* && \
poetry_version=1.8.3 && \
installer_checksum="1be64f74ed0a7075331eeb27190aee77c2df37b368b6d7e7523923d178ed125e81f2fb6a13b809344dd56a233c2eeee30321d0a5828b87663336b2f97c1d53bc" && \
poetry_installer="$( mktemp )" && \
curl --fail --retry 5 --retry-all-errors -L "https://raw.githubusercontent.com/python-poetry/install.python-poetry.org/fcd759d6feb9142736a19f8a753be975a120be87/install-poetry.py" -o "${poetry_installer}" && \
sha512sum -c <( echo "${installer_checksum} ${poetry_installer}" ) && \
python3 "${poetry_installer}" --version "${poetry_version}" -y && \
rm "${poetry_installer}" && \
ln -s ~/.local/bin/poetry /usr/local/bin/poetry && \
poetry --version

0 comments on commit be4ee50

Please sign in to comment.