We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccbb336 commit c48944eCopy full SHA for c48944e
Dockerfile
@@ -1,5 +1,4 @@
1
ARG GO_VERSION=1.13
2
-ARG BATS_VERSION=03608115df2071fff4eaaff1605768c275e5f81f
3
ARG CRIU_VERSION=v3.13
4
5
FROM golang:${GO_VERSION}-buster
@@ -33,6 +32,7 @@ RUN dpkg --add-architecture armel \
33
32
libseccomp-dev:armhf \
34
libseccomp-dev:ppc64el \
35
libseccomp2 \
+ npm \
36
pkg-config \
37
protobuf-c-compiler \
38
protobuf-compiler \
@@ -49,13 +49,7 @@ RUN dpkg --add-architecture armel \
49
RUN useradd -u1000 -m -d/home/rootless -s/bin/bash rootless
50
51
# install bats
52
-ARG BATS_VERSION
53
-RUN cd /tmp \
54
- && git clone https://github.com/sstephenson/bats.git \
55
- && cd bats \
56
- && git reset --hard "${BATS_VERSION}" \
57
- && ./install.sh /usr/local \
58
- && rm -rf /tmp/bats
+RUN npm install -g bats
59
60
# install criu
61
ARG CRIU_VERSION
0 commit comments