Fix Crystal and DL3008 issues

This commit is contained in:
Nemo 2020-05-14 03:40:42 +05:30
parent 3de4053037
commit a23bd52ffa
2 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@ install:
script:
- crystal spec
- crystal tool format --check
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 ${HADOLINT}
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 ${HADOLINT} --ignore DL3008
addons:
apt:
packages:
- pdftk
- pdftk

View File

@ -29,7 +29,7 @@ RUN mkdir -p /usr/share/man/man1 && \
apt-key add /tmp/crystal.gpg && \
echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list && \
apt-get update && \
apt-get install --no-install-recommends --yes crystal=0.33.0-1 && \
apt-get install --no-install-recommends --yes crystal=0.34.0-1 && \
# Cleanup
apt-get clean && \
rm -rf /var/lib/apt/lists/*