The Shields service (at shields.io) provides a way to create custom badges for your projects. These are badges are very common and are frequently used to show status information about the project, or demonstrate tools that were used for the development of your project.
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
#!/usr/bin/bash | |
DRIVE_ID[0]=/dev/disk/by-id/wwn-0x50014ee2ae42a608 # 2TB Disk model: WDC WD20EADS-00S | |
DRIVE_ID[1]=/dev/disk/by-id/wwn-0x50014ee20a7836a8 # 4TB Disk model: WDC WD40EZRX-00S | |
DRIVE_ID[2]=/dev/disk/by-id/wwn-0x5000c500b1841369 # 8TB Disk model: ST8000NM0055-1RM | |
DRIVE_ID[3]=/dev/disk/by-id/wwn-0x5000c500b1844fe1 # 8TB Disk model: ST8000NM0055-1RM | |
DRIVE_ID[4]=/dev/disk/by-id/wwn-0x5000c500b185901f # 8TB Disk model: ST8000NM0055-1RM | |
for DRIVE_NUM in "${!DRIVE_ID[@]}"; do # init some variables | |
DRIVE_STATE_OLD[$DRIVE_NUM]="" |
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 nginx:alpine AS builder | |
# nginx:alpine contains NGINX_VERSION environment variable, like so: | |
# ENV NGINX_VERSION 1.15.0 | |
# Our NCHAN version | |
ENV NCHAN_VERSION 1.1.15 | |
# Download sources | |
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \ |