Compare commits

...

2 Commits

Author SHA1 Message Date
Nemo 2a35f3c68c [dep] Crystal Upgrade to 1.10.1
The Crystal Debian repo has moved, so we shift as well.
Debian 10 is still supported, so use it for now
2023-10-31 23:44:52 +05:30
Nemo dc43331609 [dep] Dependency Upgrade
Tested against 1.10.1
2023-10-31 23:42:35 +05:30
2 changed files with 9 additions and 7 deletions

View File

@ -5,7 +5,7 @@ WORKDIR /build
COPY . .
# Add the key for the crystal debian repo
ADD https://keybase.io/crystal/pgp_keys.asc /tmp/crystal.gpg
ADD https://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_10/Release.key /tmp/crystal.key
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199 for why mkdir is needed
RUN mkdir -p /usr/share/man/man1 && \
@ -26,10 +26,12 @@ RUN mkdir -p /usr/share/man/man1 && \
# build --release
zlib1g-dev && \
# See https://crystal-lang.org/install/
apt-key add /tmp/crystal.gpg && \
echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list && \
echo "deb http://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_10/ /" | tee /etc/apt/sources.list.d/crystal.list && \
gpg --dearmor /tmp/crystal.key && \
mv /tmp/crystal.key.gpg /etc/apt/trusted.gpg.d/crystal.gpg && \
rm /tmp/crystal.key && \
apt-get update && \
apt-get install --no-install-recommends --yes crystal=0.34.0-1 && \
apt-get install --no-install-recommends --yes crystal && \
# Cleanup
apt-get clean && \
rm -rf /var/lib/apt/lists/*

View File

@ -2,7 +2,7 @@ version: 2.0
shards:
crest:
git: https://github.com/mamantoha/crest.git
version: 0.27.0
version: 1.3.12
http-client-digest_auth:
git: https://github.com/mamantoha/http-client-digest_auth.git
@ -10,11 +10,11 @@ shards:
http_proxy:
git: https://github.com/mamantoha/http_proxy.git
version: 0.8.0
version: 0.10.1
myhtml:
git: https://github.com/kostya/myhtml.git
version: 1.5.4
version: 1.5.8
webmock:
git: https://github.com/manastech/webmock.cr.git