diff options
author | 2021-12-21 22:31:50 -0800 | |
---|---|---|
committer | 2021-12-21 22:31:50 -0800 | |
commit | 8f16eeb82a9baa22deb7b44150156c6758536764 (patch) | |
tree | 615dab228fb640a97578d2454ce12076ab8149bc | |
parent | 84e5072741460ccaab7316e295b414afcfa9bd65 (diff) | |
download | bun-8f16eeb82a9baa22deb7b44150156c6758536764.tar.gz bun-8f16eeb82a9baa22deb7b44150156c6758536764.tar.zst bun-8f16eeb82a9baa22deb7b44150156c6758536764.zip |
copy-bun-release-dir
-rw-r--r-- | Dockerfile | 38 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 23 insertions, 19 deletions
diff --git a/Dockerfile b/Dockerfile index d0ad0fece..ebf579284 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,30 +73,30 @@ RUN wget https://github.com/unicode-org/icu/releases/download/release-66-1/icu4c ./configure --enable-static --disable-shared && \ make -j$(nproc) && \ make install - + ENV PATH "/home/ubuntu/zig:$PATH" ENV JSC_BASE_DIR $WEBKIT_OUT_DIR ENV LIB_ICU_PATH /home/ubuntu/icu/source/lib +ENV BUN_RELEASE_DIR /home/ubuntu/bun-release WORKDIR /home/ubuntu/bun -RUN mkdir -p /home/ubuntu/bun-release; \ +RUN mkdir -p $BUN_RELEASE_DIR; \ make \ - api \ - analytics \ - node-fallbacks \ - runtime_js \ - fallback_decoder \ - bun_error \ - mimalloc \ - zlib \ - libarchive \ - boringssl \ - picohttp \ - jsc-bindings-headers \ - jsc-bindings-mac \ - identifier-cache \ - release \ - test-all && \ - cp -r $(make release-bin-dir)/* /home/ubuntu/bun-release
\ No newline at end of file + api \ + analytics \ + node-fallbacks \ + runtime_js \ + fallback_decoder \ + bun_error \ + mimalloc \ + zlib \ + libarchive \ + boringssl \ + picohttp \ + jsc-bindings-headers \ + jsc-bindings-mac \ + identifier-cache \ + release \ + copy-to-bun-release-dir @@ -733,3 +733,7 @@ integration-test-dev: copy-install: cp src/cli/install.sh ../bun.sh/docs/install.html + +copy-to-bun-release-dir: + cp -r $(PACKAGE_DIR)/bun $BUN_RELEASE_DIR/bun + cp -r $(PACKAGE_DIR)/bun-profile $BUN_RELEASE_DIR/bun-profile
\ No newline at end of file |