This file contains hidden or 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/sh | |
version="0.1.0" | |
UNAME=$(uname) | |
# Check to see if it starts with MINGW. | |
if [ "$UNAME" ">" "MINGW" -a "$UNAME" "<" "MINGX" ] ; then | |
echo "current release do not support windows" | |
exit 1 |
This file contains hidden or 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 alpine:3.4 | |
ENV TZ 'Asia/Shanghai' | |
RUN apk upgrade --no-cache && \ | |
apk add --no-cache bash tzdata && \ | |
mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 && \ | |
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ | |
echo "Asia/Shanghai" > /etc/timezone && \ |
This file contains hidden or 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
MD5 checksum | |
In order to find the MD5 checksum value of a file using the following command in the terminal. | |
$ md5 /path/to/file | |
To find the SHA1 checksum value use the following command in the terminal. | |
$ shasum -a 1 /path/to/file | |
To find the SHA256 checksum use the following command in the terminal. | |
$ shasum -a 256 /path/to/file |
OlderNewer