-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathDockerfile.debian.bullseye
64 lines (55 loc) · 1.27 KB
/
Dockerfile.debian.bullseye
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
FROM debian:bullseye
LABEL Description="Aktualizr CI image using Debian Bullseye (oldstable)"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y install --no-install-suggests --no-install-recommends debian-archive-keyring
# It is important to run these in the same RUN command, because otherwise
# Docker layer caching breaks us
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017558
RUN apt-get update && apt-get -y install -\
build-essential \
asn1c \
automake \
bison \
ccache \
cmake \
curl \
g++ \
git \
jq \
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 \
libglib2.0-dev \
libgtest-dev \
libostree-dev \
libsodium-dev \
libsqlite3-dev \
libssl-dev \
libtool \
lshw \
ninja-build \
net-tools \
opensc \
ostree \
pkg-config \
psmisc \
python3-dev \
python3-gi \
python3-openssl \
python3-pip \
python3-venv \
sqlite3 \
zip
RUN useradd testuser
WORKDIR /home/testuser
RUN chown testuser:testuser /home/testuser
COPY . /home/testuser/source
RUN chown -R testuser:testuser /home/testuser/source
USER testuser
RUN mkdir /home/testuser/.cache