Skip to content

Commit 5b4bff9

Browse files
authored
Merge pull request #2336 from kolyshkin/bats-core-2
Dockerfile: use bats-core
2 parents 4402442 + d4bc7c1 commit 5b4bff9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG GO_VERSION=1.13
2-
ARG BATS_VERSION=03608115df2071fff4eaaff1605768c275e5f81f
2+
ARG BATS_VERSION=v1.1.0
33
ARG CRIU_VERSION=v3.13
44

55
FROM golang:${GO_VERSION}-buster
@@ -51,11 +51,11 @@ RUN useradd -u1000 -m -d/home/rootless -s/bin/bash rootless
5151
# install bats
5252
ARG BATS_VERSION
5353
RUN cd /tmp \
54-
&& git clone https://github.com/sstephenson/bats.git \
55-
&& cd bats \
54+
&& git clone https://github.com/bats-core/bats-core.git \
55+
&& cd bats-core \
5656
&& git reset --hard "${BATS_VERSION}" \
5757
&& ./install.sh /usr/local \
58-
&& rm -rf /tmp/bats
58+
&& rm -rf /tmp/bats-core
5959

6060
# install criu
6161
ARG CRIU_VERSION

0 commit comments

Comments
 (0)