File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ RUN apk --no-cache add \
10
10
libc6-compat \
11
11
openssh-client \
12
12
bash
13
-
14
- # Install BATS
15
- RUN git clone https://github.com/sstephenson/bats.git && \
16
- cd bats && \
17
- ./install.sh /usr/local
13
+
14
+ # Install BATS 1.1.0
15
+ RUN curl -LO https://github.com/bats-core/bats-core/archive/v1.1.0.zip && \
16
+ unzip -q -d /tmp v1.1.0.zip && \
17
+ cd /tmp/bats-core-1.1.0 && \
18
+ ./install.sh /usr/local && \
19
+ rm -rf /tmp/bats-core-1.1.0
18
20
19
21
# Install kubectl
20
22
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" && \
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ Make sure they import the **lib/utils.bash** and **lib/detik.bash** files.
194
194
195
195
### Executing Tests by Hand
196
196
197
- Assuming you have built the image from the Dockerfile...
197
+ Assuming you have built the image from the sample Dockerfile...
198
198
199
199
``` bash
200
200
# Run the image with a volume for your project.
You can’t perform that action at this time.
0 commit comments