1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-10-18 01:15:33 +00:00
Files
a155-U-u1/kernel/build/hermetic/Dockerfile
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

29 lines
803 B
Docker

FROM debian:stable-slim
RUN apt-get -y update \
&& apt-get -y install \
# Those are likely essential
git \
# To be removed
rsync \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Explicitly allow some host binaries for now
RUN mkdir -p /l/bin
RUN ln -s $(which perl) /l/bin/
RUN ln -s $(which rsync) /l/bin/
RUN ln -s $(which sh) /l/bin/
RUN ln -s $(which tar) /l/bin/ # b/164013907
# Allow git usage during the build (e.g. to determine timestamps)
RUN ln -s $(which git) /l/bin/
# Copy the build runner
COPY build /l/build
RUN chmod a+rx /l/build
# Run the build runner if no other command is given
CMD /l/build