mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
Update Dockerfile
This commit is contained in:
@@ -42,6 +42,8 @@ RUN update-alternatives --install /usr/bin/ld ld /usr/bin/lld-12 90 && \
|
||||
ENV CC=clang-12
|
||||
ENV CXX=clang++-12
|
||||
|
||||
RUN mkdir /output;
|
||||
|
||||
# Compile zig
|
||||
RUN --mount=type=tmpfs,target=/zig-build \
|
||||
cd /zig-build && \
|
||||
@@ -54,7 +56,7 @@ RUN --mount=type=tmpfs,target=/zig-build \
|
||||
rm -rf .git; \
|
||||
cd /zig-build; \
|
||||
zip -r zig.zip zig; \
|
||||
mv zig.zip /home/ubuntu/zig.zip
|
||||
cp zig.zip /output;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user