forked from advancedtelematic/aktualizr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.ubuntu.bionic
77 lines (72 loc) · 1.63 KB
/
Dockerfile.ubuntu.bionic
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
FROM ubuntu:bionic
LABEL Description="Aktualizr testing dockerfile for Ubuntu Bionic with p11"
ENV DEBIAN_FRONTEND noninteractive
# It is important to run these in the same RUN command, because otherwise
# Docker layer caching breaks us
RUN apt-get update && apt-get -y install --no-install-suggests --no-install-recommends \
apt-transport-https \
autoconf \
asn1c \
automake \
awscli \
bison \
ccache \
clang-format-6.0 \
cmake \
curl \
e2fslibs-dev \
fiu-utils \
g++ \
gcc \
git \
jq \
lcov \
libarchive-dev \
libboost-dev \
libboost-log-dev \
libboost-program-options-dev \
libboost-system-dev \
libboost-test-dev \
libboost-thread-dev \
libcurl4-openssl-dev \
libengine-pkcs11-openssl \
libexpat1-dev \
libffi-dev \
libfiu-dev \
libfuse-dev \
libglib2.0-dev \
libgpgme11-dev \
libgtest-dev \
liblzma-dev \
libp11-3 \
libp11-dev \
libsodium-dev \
libsqlite3-dev \
libssl-dev \
libtool \
lshw \
make \
ninja-build \
opensc \
net-tools \
pkg-config \
psmisc \
python3-dev \
python3-gi \
python3-openssl \
python3-pip \
python3-venv \
softhsm2 \
sqlite3 \
valgrind \
wget \
zip
WORKDIR /ostree
RUN git init && git remote add origin https://github.com/ostreedev/ostree
RUN git fetch origin v2018.9 && git checkout FETCH_HEAD
RUN NOCONFIGURE=1 ./autogen.sh
RUN ./configure CFLAGS='-Wno-error=missing-prototypes' --with-libarchive --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --disable-man --with-builtin-grub2-mkconfig --with-curl --without-soup --prefix=/usr
RUN make VERBOSE=1 -j4
RUN make install
RUN useradd testuser
WORKDIR /