-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (36 loc) · 792 Bytes
/
Dockerfile
File metadata and controls
41 lines (36 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM debian:12-slim
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install --no-install-recommends -y \
autoconf \
automake \
autopoint \
build-essential \
ca-certificates \
curl \
gettext \
git \
indent \
lcov \
libtool \
libtool-bin \
nasm \
pkg-config \
valgrind \
xxd \
&& rm -rf /var/lib/apt/lists/*
RUN curl -L https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz | tar zx \
&& cd check-0.15.2 \
&& ./configure \
&& make \
&& make check \
&& make install \
&& cd .. \
&& rm -rf check-0.15.2
RUN git clone https://github.com/bats-core/bats-core.git \
&& cd bats-core \
&& ./install.sh /usr/local \
&& cd .. \
&& rm -rf bats-core
RUN echo "/usr/local/lib" > /etc/ld.so.conf.d/usr-local-lib.conf \
&& ldconfig