Skip to content

Commit 6baeca8

Browse files
committed
another icu fix
1 parent 5b4ba0f commit 6baeca8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile.musl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ARG DEFAULT_CFLAGS
4444

4545
RUN apk add --no-cache cpio curl icu-dev tar
4646

47-
WORKDIR /icu-src
4847
ADD https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz /icu.tgz
4948
RUN --mount=type=tmpfs,target=/icu \
5049
export CFLAGS="${DEFAULT_CFLAGS} $CFLAGS -O3 -std=c17 $LTO_FLAG" && \
@@ -54,7 +53,7 @@ RUN --mount=type=tmpfs,target=/icu \
5453
tar -xf /icu.tgz --strip-components=1 && \
5554
rm /icu.tgz && \
5655
cd source && \
57-
./configure --enable-static --disable-shared --with-data-packaging=static --disable-samples --disable-debug --disable-tests --prefix=/icu && \
56+
./configure --enable-static --disable-shared --with-data-packaging=static --disable-samples --disable-debug --disable-tests && \
5857
make -j$(nproc) && \
5958
make install && cp -r /icu/source/lib/* /output/lib && cp -r /icu/source/i18n/unicode/* /icu/source/common/unicode/* /output/include/unicode
6059

@@ -76,7 +75,7 @@ ENV WEBKIT_OUT_DIR=/webkitbuild
7675
COPY . /webkit
7776
WORKDIR /webkit
7877

79-
COPY --from=build_icu /icu /icu
78+
COPY --from=build_icu /output /icu
8079

8180
RUN --mount=type=tmpfs,target=/webkitbuild \
8281
export CFLAGS="${DEFAULT_CFLAGS} $CFLAGS $LTO_FLAG -ffile-prefix-map=/webkit/Source=src/bun.js/WebKit/Source -ffile-prefix-map=/webkitbuild/=. " && \

0 commit comments

Comments
 (0)