blob: 020908f68dec39f72ae8d67c832cd8399d936092 (
plain)
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
|
# Auto generated by ./tcwg-base/generate-dockerfiles.sh from tcwg-base/tcwg-build/Dockerfile.in. Do not edit.
FROM linaro/ci-amd64-tcwg-base-ubuntu:jammy
RUN while read line; do \
if [ x"$(echo "$line" | cut -d: -f 4)" != x"9000" ]; then \
continue; \
fi; \
new-user.sh --passwd "$line"; \
user=$(echo "$line" | cut -d: -f 1); \
sudo -i -u $user ccache -p; \
done </home-data/passwd
# We create ccache directory as tcwg-buildslave, because otherwise
# "docker run -v ccache-volume:/home/tcwg-buildslave/.ccache" will create
# it owned by root:root, which will break builds. We set ccache size:
# - 50G is a bare minimum to ccache the gnu/llvm builds
# - The aa64/amd64 build machines have enough disk to support 50G
# - TK1s have small disk, so try to get by with 10G.
RUN sudo -i -u tcwg-buildslave mkdir -p /home/tcwg-buildslave/.ccache \
&& sudo -i -u tcwg-buildslave ccache -M 50G
# Install wine.
RUN \
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
wine-stable \
&& apt-get clean \
&& rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/*
# checksum: 1322aafd37c1e25c38b6b627e3c475ff
|