]> begriffs open source - cmsis/blob - .devcontainer/ubuntu-22.04/Dockerfile
Update GitHub workflows
[cmsis] / .devcontainer / ubuntu-22.04 / Dockerfile
1 FROM  --platform=linux/amd64 ubuntu:22.04
2
3 SHELL ["/bin/bash", "-c"]
4
5 ARG DEBIAN_FRONTEND=noninteractive 
6
7 RUN apt-get update && \
8     apt-get -y install \
9         build-essential \
10         curl \
11         gdb \
12         less \
13         python3 \
14         python3-pip \
15         python-is-python3 \
16         git \
17         libtinfo5 \
18         llvm-15-tools \
19         unzip && \
20     ln -s /usr/bin/FileCheck-15 /usr/bin/FileCheck
21
22 RUN pip install \
23         lit \
24         python-matrix-runner
25
26 RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" && \
27     sed -i 's/OSH_THEME="font"/OSH_THEME="powerline"/' ~/.bashrc
28
29 ADD vcpkg-configuration.json /root/
30
31 RUN pushd /root && \
32     . <(curl https://aka.ms/vcpkg-init.sh -L) && \
33     echo "\n# Initialize vcpkg\n. /root/.vcpkg/vcpkg-init" >> .bashrc && \
34     vcpkg x-update-registry --all && \
35     vcpkg activate
36
37 CMD ["/bin/bash"]