This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -r checksum_file="/tmp/blocklists/checksums.txt" | |
if [ ! -d /tmp/blocklists ]; then | |
mkdir /tmp/blocklists | |
fi | |
if [ ! -f $checksum_file ]; then | |
touch $checksum_file | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:cli-alpine | |
MAINTAINER Christopher Wittor <chris@wittor.IT> | |
RUN apk --no-cache add git | |
WORKDIR /tmp | |
RUN curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar && \ | |
cp /tmp/phpcs.phar /usr/local/bin/phpcs && \ |