blob: 0a611a93689ea0e35983b8199ad01ef3be7a9f11 (
plain)
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
|
FROM debian:stable-slim
RUN apt-get -y update \
&& apt-get -y install \
# Those are likely essential
git \
# To be removed
# see b/164026334
cpio \
gcc \
libssl-dev \
rsync \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Whitelist some host binaries for now
RUN mkdir -p /l/bin
RUN ln -s $(which cpio) /l/bin/ # b/164026334
RUN ln -s $(which gcc) /l/bin/
RUN ln -s $(which ld) /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/152244851
# Copy the build runner
COPY build /l/build
# Run the build runner if no other command is given
CMD /l/build
|