| @ -0,0 +1,22 @@ | |||||
| FROM bash:4.0 | |||||
| # https://hub.docker.com/_/bash | |||||
| RUN apk --no-cache add supervisor openssl git curl bind-tools drill wget nginx bash | |||||
| WORKDIR /root | |||||
| # Create nginx directories in standard places | |||||
| RUN mkdir /run/nginx | |||||
| RUN mkdir /etc/nginx/pki | |||||
| RUN mkdir /etc/nginx/pki/private | |||||
| # BATS (Bash Automated Testings) | |||||
| RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1 | |||||
| RUN git clone https://github.com/bats-core/bats-support /bats-support | |||||
| RUN git clone https://github.com/bats-core/bats-assert /bats-assert | |||||
| RUN /bats-core/install.sh /usr/local | |||||
| # Use supervisord to run nginx in the background | |||||
| COPY ./test/test-config/alpine-supervisord.conf /etc/supervisord.conf | |||||
| CMD tail -f /dev/null | |||||
| @ -0,0 +1,22 @@ | |||||
| FROM bash:4.2 | |||||
| # https://hub.docker.com/_/bash | |||||
| RUN apk --no-cache add supervisor openssl git curl bind-tools drill wget nginx bash | |||||
| WORKDIR /root | |||||
| # Create nginx directories in standard places | |||||
| RUN mkdir /run/nginx | |||||
| RUN mkdir /etc/nginx/pki | |||||
| RUN mkdir /etc/nginx/pki/private | |||||
| # BATS (Bash Automated Testings) | |||||
| RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1 | |||||
| RUN git clone https://github.com/bats-core/bats-support /bats-support | |||||
| RUN git clone https://github.com/bats-core/bats-assert /bats-assert | |||||
| RUN /bats-core/install.sh /usr/local | |||||
| # Use supervisord to run nginx in the background | |||||
| COPY ./test/test-config/alpine-supervisord.conf /etc/supervisord.conf | |||||
| CMD tail -f /dev/null | |||||
| @ -0,0 +1,22 @@ | |||||
| FROM bash:5.0 | |||||
| # https://hub.docker.com/_/bash | |||||
| RUN apk --no-cache add supervisor openssl git curl bind-tools drill wget nginx bash | |||||
| WORKDIR /root | |||||
| # Create nginx directories in standard places | |||||
| RUN mkdir /run/nginx | |||||
| RUN mkdir /etc/nginx/pki | |||||
| RUN mkdir /etc/nginx/pki/private | |||||
| # BATS (Bash Automated Testings) | |||||
| RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1 | |||||
| RUN git clone https://github.com/bats-core/bats-support /bats-support | |||||
| RUN git clone https://github.com/bats-core/bats-assert /bats-assert | |||||
| RUN /bats-core/install.sh /usr/local | |||||
| # Use supervisord to run nginx in the background | |||||
| COPY ./test/test-config/alpine-supervisord.conf /etc/supervisord.conf | |||||
| CMD tail -f /dev/null | |||||