-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
51 lines (40 loc) · 1007 Bytes
/
Dockerfile
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
# Copyright (c) 2024 LG Electronics Inc.
# SPDX-License-Identifier: MIT
FROM ubuntu:20.04 AS builder
ARG DEBIAN_FRONTEND=noninteractive
RUN echo "dash dash/sh boolean false" | debconf-set-selections
RUN dpkg-reconfigure dash
RUN apt-get clean
RUN apt-get update
RUN apt-get install -y --no-install-recommends locales software-properties-common
RUN locale-gen en_US.UTF-8
RUN apt-get install -y --no-install-recommends \
build-essential \
clang \
cmake \
g++ \
g++-mingw-w64 \
g++-multilib \
gcc \
gcc-mingw-w64 \
gcc-multilib \
ninja-build \
python3 \
python3-pip \
python3-pytest \
tzdata
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install -U pip
RUN python3 -m pip install -U \
gcovr \
pytest \
pytest-xdist
FROM ubuntu:20.04
COPY --from=builder /usr /usr
COPY --from=builder /etc /etc
COPY --from=builder /var /var
ENV LANG=en_US.UTF-8
ENV TZ=Asia/Seoul
ENV GIT_SSL_NO_VERIFY=true
CMD ["/bin/bash"]