Skip to content

Commit 0263bf9

Browse files
authored
Merge pull request #6 from sigdba/develop
Python version bump
2 parents b431088 + 81b724b commit 0263bf9

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

build/Dockerfile.python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9.9-slim AS base
1+
FROM python:3.11.6-slim AS base
22

33
RUN sed -i 's:^path-exclude /usr/share/groff/\*::' /etc/dpkg/dpkg.cfg.d/docker \
44
&& apt-get update \

build/feature_saml2aws.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
CURRENT_VERSION=$(curl -Ls https://api.github.com/repos/Versent/saml2aws/releases/latest | grep 'tag_name' | cut -d'v' -f2 | cut -d'"' -f1)
2-
wget -c https://github.com/Versent/saml2aws/releases/download/v${CURRENT_VERSION}/saml2aws_${CURRENT_VERSION}_linux_amd64.tar.gz -O - | tar -xzv -C /usr/local/bin || die "Error installing saml2aws"
1+
if [ -z "$SAML2AWS_TAR_URL" ]; then
2+
CURRENT_VERSION=$(curl -Ls https://api.github.com/repos/Versent/saml2aws/releases/latest | grep 'tag_name' | cut -d'v' -f2 | cut -d'"' -f1)
3+
SAML2AWS_TAR_URL="https://github.com/Versent/saml2aws/releases/download/v${CURRENT_VERSION}/saml2aws_${CURRENT_VERSION}_linux_amd64.tar.gz"
4+
fi
5+
6+
wget -c "$SAML2AWS_TAR_URL" -O - | tar -xzv -C /usr/local/bin || die "Error installing saml2aws"
37
chmod u+x /usr/local/bin/saml2aws || die "chmod error"
8+
49
hash -r
510
echo -n "saml2aws Version: "
611
saml2aws --version

0 commit comments

Comments
 (0)