File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.9.9 -slim AS base
1+ FROM python:3.11.6 -slim AS base
22
33RUN sed -i 's:^path-exclude /usr/share/groff/\*::' /etc/dpkg/dpkg.cfg.d/docker \
44 && apt-get update \
Original file line number Diff line number Diff line change 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"
37chmod u+x /usr/local/bin/saml2aws || die " chmod error"
8+
49hash -r
510echo -n " saml2aws Version: "
611saml2aws --version
You can’t perform that action at this time.
0 commit comments