Create precompress script and add a Dockerfile for execution
This commit is contained in:
parent
84837becaf
commit
a166f0e4b3
2 changed files with 96 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
FROM alpine:3.13
|
||||
|
||||
RUN apk add --no-cache \
|
||||
brotli \
|
||||
pigz \
|
||||
zstd \
|
||||
bash \
|
||||
the_silver_searcher
|
||||
|
||||
COPY ./precompress /precompress
|
||||
|
||||
VOLUME /compress-dir
|
||||
|
||||
WORKDIR /compress-dir
|
||||
|
||||
ENTRYPOINT ["/precompress"]
|
Loading…
Add table
Add a link
Reference in a new issue