Skip to content

Commit

Permalink
Update Rakudo Star version to 2019.03
Browse files Browse the repository at this point in the history
This updates the Rakudo Star version to 2019.03 from 2018.10.

The maintainer for Rakudo Star changed between 2018.10 and 2019.03 so
the existing fingerprint used to retrieve the key and verify the tarball
is not valid for the new release. Updating to include the new
fingerprint along with the previous one; the old one will be used if the
user sets the "rakudo_version" arg to a release prior to 2019.03 when
building.

See [Github Issue #23](#23)
  • Loading branch information
jstuder-gh committed Apr 6, 2019
1 parent ce949e3 commit 60f1dd9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Dockerfile
Expand Up @@ -3,7 +3,7 @@ MAINTAINER Rob Hoelz

RUN groupadd -r perl6 && useradd -r -g perl6 perl6

ARG rakudo_version=2018.10
ARG rakudo_version=2019.03
ENV rakudo_version=${rakudo_version}

RUN buildDeps=' \
Expand All @@ -12,9 +12,21 @@ RUN buildDeps=' \
libencode-perl \
make \
' \
\
keyfp=$( \
timestampFromDate() { \
date -d $(echo $1 | cut -c1-7 | tr . - | xargs printf '%s-01') '+%s'; \
}; \
\
if [ $(timestampFromDate $rakudo_version) -lt $(timestampFromDate '2019.03') ]; then \
echo 'ECF8B611205B447E091246AF959E3D6197190DD5'; \
else \
echo '7A6C9EB8809CFEAF0ED4E09F18C438E6FF24326D'; \
fi \
) \
\
url="https://rakudo.org/downloads/star/rakudo-star-${rakudo_version}.tar.gz" \
keyserver='ha.pool.sks-keyservers.net' \
keyfp='ECF8B611205B447E091246AF959E3D6197190DD5' \
tmpdir="$(mktemp -d)" \
&& set -x \
&& export GNUPGHOME="$tmpdir" \
Expand Down

0 comments on commit 60f1dd9

Please sign in to comment.