2020-04-25 00:12:02 +00:00
|
|
|
FROM ubuntu:20.04
|
2021-07-14 05:23:48 +00:00
|
|
|
LABEL maintainer="yuzu"
|
2020-05-08 02:22:08 +00:00
|
|
|
# Create a user account yuzu (UID 1027) that the container will run as
|
|
|
|
RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
2020-05-01 04:39:10 +00:00
|
|
|
apt-get update && apt-get -y full-upgrade && \
|
2023-01-29 20:45:57 +00:00
|
|
|
apt-get install -y git gpg-agent wget && \
|
|
|
|
wget https://apt.llvm.org/llvm-snapshot.gpg.key && apt-key add ./llvm-snapshot.gpg.key && \
|
|
|
|
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main" >> /etc/apt/sources.list && \
|
|
|
|
apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y clang-format-15 && \
|
2020-05-01 04:39:10 +00:00
|
|
|
apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
|
2020-05-08 02:22:08 +00:00
|
|
|
USER 1027
|