-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.ubuntu20.dev
More file actions
42 lines (36 loc) · 1.31 KB
/
Dockerfile.ubuntu20.dev
File metadata and controls
42 lines (36 loc) · 1.31 KB
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
FROM ubuntu:20.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && \
apt-get -y install sudo
RUN apt-get install -y gcc-multilib
RUN apt-get install -y g++-multilib
RUN apt-get install -y libdwarf-dev
RUN apt-get install -y make
RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gdb
RUN apt-get install -y gcovr
RUN apt-get install -y gnupg2
RUN apt-get install -y software-properties-common
RUN apt-get install -y python3-pip
RUN apt-get install -y curl
RUN pip3 install PyYAML
# Install CMake v3.22
RUN curl -sLO https://cmake.org/files/v3.22/cmake-3.22.1-linux-x86_64.sh && \
chmod +x ./cmake-3.22.1-linux-x86_64.sh && \
./cmake-3.22.1-linux-x86_64.sh --skip-license --prefix=/usr/ && \
rm ./cmake-3.22.1-linux-x86_64.sh
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
RUN add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main'
RUN apt-get install -y clang-format
RUN mkdir /home/docker
RUN mkdir /home/docker/juicer
WORKDIR /home/docker/juicer
RUN useradd -ms /bin/bash juicer-dev
RUN usermod -aG sudo juicer-dev
RUN echo "juicer-dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER juicer-dev