Skip to content

Commit 856d5b0

Browse files
committed
feat(docker): set link and path for toolchains
1 parent 61d8cf7 commit 856d5b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ USER aosp
44
WORKDIR /home/aosp
55
RUN mkdir -p .distbuild/boong/bin && \
66
mkdir -p .distbuild/prebuilts && \
7-
mkdir -p .distbuild/workspace
7+
mkdir -p .distbuild/workspace && \
8+
ln -s /home/aosp/.distbuild/prebuilts /home/aosp/.distbuild/workspace/prebuilts
89

910
USER aosp
1011
WORKDIR /home/aosp
@@ -28,4 +29,5 @@ RUN pushd build && \
2829
sudo rm -rf build
2930

3031
ENV PATH=/home/aosp/.distbuild/boong/bin:$PATH
32+
ENV PATH=/home/aosp/.distbuild/prebuilts/clang/host/linux-x86/clang-3289846/bin:$PATH
3133
CMD ["worker", "--listen-address=:39090", "--workspace-path=/home/aosp/.distbuild/workspace"]

0 commit comments

Comments
 (0)