Skip to content

Commit 6ce1211

Browse files
committed
Remove hardcode bats version
1 parent fc05330 commit 6ce1211

17 files changed

+17
-21
lines changed

test/Dockerfile-alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN chown -R ftpuser.www-data /var/www
2323
RUN chmod g+w -R /var/www
2424

2525
# BATS (Bash Automated Testings)
26-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
26+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
2727
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
2828
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
2929
RUN /bats-core/install.sh /usr/local

test/Dockerfile-bash4-0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN chown -R ftpuser.www-data /var/www
2424
RUN chmod g+w -R /var/www
2525

2626
# BATS (Bash Automated Testings)
27-
RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
27+
RUN git clone https://github.com/bats-core/bats-core.git /bats-core
2828
RUN git clone https://github.com/bats-core/bats-support /bats-support
2929
RUN git clone https://github.com/bats-core/bats-assert /bats-assert
3030
RUN /bats-core/install.sh /usr/local

test/Dockerfile-bash4-2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN chown -R ftpuser.www-data /var/www
2424
RUN chmod g+w -R /var/www
2525

2626
# BATS (Bash Automated Testings)
27-
RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
27+
RUN git clone https://github.com/bats-core/bats-core.git /bats-core
2828
RUN git clone https://github.com/bats-core/bats-support /bats-support
2929
RUN git clone https://github.com/bats-core/bats-assert /bats-assert
3030
RUN /bats-core/install.sh /usr/local

test/Dockerfile-bash5-0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN chown -R ftpuser.www-data /var/www
2424
RUN chmod g+w -R /var/www
2525

2626
# BATS (Bash Automated Testings)
27-
RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
27+
RUN git clone https://github.com/bats-core/bats-core.git /bats-core
2828
RUN git clone https://github.com/bats-core/bats-support /bats-support
2929
RUN git clone https://github.com/bats-core/bats-assert /bats-assert
3030
RUN /bats-core/install.sh /usr/local

test/Dockerfile-centos7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN chown -R www-data.www-data /var/www
3131
RUN chmod g+w -R /var/www
3232

3333
# BATS (Bash Automated Testings)
34-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
34+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
3535
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
3636
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
3737
RUN /bats-core/install.sh /usr/local

test/Dockerfile-centos7-duckdns

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ ENV LC_ALL en_US.UTF-8
1414

1515
ENV staging "true"
1616
ENV dynamic_dns "dynu"
17-
#ENV DUCKDNS_TOKEN
1817

1918
WORKDIR /root
2019
RUN mkdir -p /etc/nginx/pki/private
2120
COPY ./test/test-config/nginx-ubuntu-no-ssl /etc/nginx/conf.d/default.conf
2221
COPY ./test/test-config/nginx-centos7.conf /etc/nginx/nginx.conf
2322

2423
# BATS (Bash Automated Testings)
25-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
24+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
2625
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
2726
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
2827
RUN /bats-core/install.sh /usr/local

test/Dockerfile-centos7-dynu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ENV LC_ALL en_US.UTF-8
1414

1515
ENV staging "true"
1616
ENV dynamic_dns "duckdns"
17-
#ENV DYNU_API_KEY
1817

1918
WORKDIR /root
2019
RUN mkdir -p /etc/nginx/pki
@@ -23,7 +22,7 @@ COPY ./test/test-config/nginx-ubuntu-no-ssl /etc/nginx/conf.d/default.conf
2322
COPY ./test/test-config/nginx-centos7.conf /etc/nginx/nginx.conf
2423

2524
# BATS (Bash Automated Testings)
26-
RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
25+
RUN git clone https://github.com/bats-core/bats-core.git /bats-core
2726
RUN git clone https://github.com/bats-core/bats-support /bats-support
2827
RUN git clone https://github.com/bats-core/bats-assert /bats-assert
2928
RUN /bats-core/install.sh /usr/local

test/Dockerfile-centos8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN chown -R www-data.www-data /var/www
3434
RUN chmod g+w -R /var/www
3535

3636
# BATS (Bash Automated Testings)
37-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
37+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
3838
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
3939
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
4040
RUN /bats-core/install.sh /usr/local

test/Dockerfile-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN chown -R www-data.www-data /var/www
3030
RUN chmod g+w -R /var/www
3131

3232
# BATS (Bash Automated Testings)
33-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
33+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
3434
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
3535
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
3636
RUN /bats-core/install.sh /usr/local

test/Dockerfile-rockylinux8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN chown -R www-data.www-data /var/www
3333
RUN chmod g+w -R /var/www
3434

3535
# BATS (Bash Automated Testings)
36-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
36+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
3737
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
3838
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
3939
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ WORKDIR /root
3636
RUN touch /root/.rnd
3737

3838
# BATS (Bash Automated Testings)
39-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
39+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
4040
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
4141
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
4242
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu-acmedns

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ WORKDIR /root
3030
RUN touch /root/.rnd
3131

3232
# BATS (Bash Automated Testings)
33-
RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
33+
RUN git clone https://github.com/bats-core/bats-core.git /bats-core
3434
RUN git clone https://github.com/bats-core/bats-support /bats-support
3535
RUN git clone https://github.com/bats-core/bats-assert /bats-assert
3636
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu-duckdns

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ENV DEBIAN_FRONTEND noninteractive
88
# Ensure tests in this image use the staging server
99
ENV staging "true"
1010
ENV dynamic_dns "duckdns"
11-
#ENV DUCKDNS_TOKEN
1211

1312
# Update and install required software
1413
RUN apt-get update --fix-missing
@@ -28,7 +27,7 @@ WORKDIR /root
2827
RUN touch /root/.rnd
2928

3029
# BATS (Bash Automated Testings)
31-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
30+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
3231
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
3332
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
3433
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu-dynu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ENV DEBIAN_FRONTEND noninteractive
88
# Ensure tests in this image use the staging server
99
ENV staging "true"
1010
ENV dynamic_dns "dynu"
11-
#ENV DYNU_API_KEY
1211

1312
# Update and install required software
1413
RUN apt-get update --fix-missing
@@ -28,7 +27,7 @@ WORKDIR /root
2827
RUN touch /root/.rnd
2928

3029
# BATS (Bash Automated Testings)
31-
RUN git clone https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
30+
RUN git clone https://github.com/bats-core/bats-core.git /bats-core
3231
RUN git clone https://github.com/bats-core/bats-support /bats-support
3332
RUN git clone https://github.com/bats-core/bats-assert /bats-assert
3433
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu14

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN chown -R www-data.www-data /var/www
3636
RUN chmod g+w -R /var/www
3737

3838
# BATS (Bash Automated Testings)
39-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
39+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
4040
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
4141
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
4242
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu16

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN chown -R www-data.www-data /var/www
3434
RUN chmod g+w -R /var/www
3535

3636
# BATS (Bash Automated Testings)
37-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
37+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
3838
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
3939
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
4040
RUN /bats-core/install.sh /usr/local

test/Dockerfile-ubuntu18

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN chmod g+w -R /var/www
3737
RUN touch /root/.rnd
3838

3939
# BATS (Bash Automated Testings)
40-
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core --branch v1.2.1
40+
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /bats-core
4141
RUN git clone --depth 1 https://github.com/bats-core/bats-support /bats-support
4242
RUN git clone --depth 1 https://github.com/bats-core/bats-assert /bats-assert
4343
RUN /bats-core/install.sh /usr/local

0 commit comments

Comments
 (0)