Skip to content

Commit

Permalink
Merge pull request #1 from found-it/chore/update-comments
Browse files Browse the repository at this point in the history
chore(squashfs-tools): update comments
  • Loading branch information
kaniini authored Sep 10, 2024
2 parents da89fe0 + 41cc09a commit 4daa83e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.squashfs-tools
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ WORKDIR /usr/src
# build dependencies
RUN apk update && apk add build-base git zlib-dev zlib-static zstd-dev zstd-static lz4-dev lz4-static

# check out xen sources
# check out squashfs-tools sources
ENV SQUASHFS_TOOLS_VERSION=${SQUASHFS_TOOLS_VERSION}
RUN git clone https://github.com/plougher/squashfs-tools && cd squashfs-tools && git checkout squashfs-tools-$SQUASHFS_TOOLS_VERSION
WORKDIR /usr/src/squashfs-tools/squashfs-tools
ENV CFLAGS="-O2 -Wall -static"
ENV LDFLAGS="-static"
RUN make -j`nproc` && make install INSTALL_DIR=/usr/obj/usr/bin

## copy final oxenstored into a scratch image
## copy final squashfs-tools into a scratch image
FROM scratch AS final
COPY --from=build /usr/obj/ /

0 comments on commit 4daa83e

Please sign in to comment.