Skip to content

Commit 64c06ca

Browse files
authored
chore(mksquashfs): compile with zstd (#5)
* chore(mksquashfs): compile with zstd Signed-off-by: James Petersen <jpetersenames@gmail.com> * chore(mksquashfs): fix spacing Signed-off-by: James Petersen <jpetersenames@gmail.com> --------- Signed-off-by: James Petersen <jpetersenames@gmail.com>
1 parent 920a7f3 commit 64c06ca

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile.squashfs-tools

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG SQUASHFS_TOOLS_VERSION=65362f488c8859db6612a1ed3630c7352fff2a7e
66
WORKDIR /usr/src
77

88
# build dependencies
9-
RUN apk update && apk add build-base cmake git sed
9+
RUN apk update && apk add build-base cmake git sed zstd-dev zstd-static
1010
# build zlib-ng in static lib/"zlib-compat" mode (alpine doesn't have a static/dev variant yet)
1111
ENV ZLIB_NG_VERSION=2.2.4
1212
RUN git clone https://github.com/zlib-ng/zlib-ng.git && cd zlib-ng && git checkout $ZLIB_NG_VERSION
@@ -24,7 +24,6 @@ WORKDIR /usr/src/squashfs-tools/squashfs-tools
2424
RUN sed -i \
2525
-e 's/LZO_SUPPORT = 1/LZO_SUPPORT = 0/' \
2626
-e 's/XZ_SUPPORT = 1/XZ_SUPPORT = 0/' \
27-
-e 's/ZSTD_SUPPORT = 1/ZSTD_SUPPORT = 0/' \
2827
-e 's/LZ4_SUPPORT = 1/LZ4_SUPPORT = 0/' \
2928
-e 's/USE_PREBUILT_MANPAGES = n/USE_PREBUILT_MANPAGES = y/' \
3029
Makefile

0 commit comments

Comments
 (0)