Skip to content

Commit

Permalink
etc/pzs-ng: gzip zsconfig.h
Browse files Browse the repository at this point in the history
  • Loading branch information
silv3rr committed Sep 6, 2024
1 parent 24d5ee5 commit 57d9285
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 71 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ ARG DEBCONF_NOWARNINGS="yes"
ARG PZS_URL=https://github.com/glftpd/pzs-ng/archive/master.tar.gz
WORKDIR /build
COPY --from=deb_base / /
COPY etc/pzs-ng/zsconfig.h pzs-ng-master/zipscript/conf/zsconfig.h
COPY etc/pzs-ng/zsconfig.h.gz pzs-ng-master/zipscript/conf/zsconfig.h.gz
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3003,DL3008
RUN mkdir /glftpd && \
if [ "${INSTALL_ZS:-0}" -eq 1 ]; then \
gunzip -v pzs-ng-master/zipscript/conf/zsconfig.h.gz; \
curl -sSL -L -O ${PZS_URL} && \
tar -xf master.tar.gz && \
( cd pzs-ng-master && \
Expand Down
70 changes: 0 additions & 70 deletions etc/pzs-ng/zsconfig.h

This file was deleted.

Binary file added etc/pzs-ng/zsconfig.h.gz
Binary file not shown.

0 comments on commit 57d9285

Please sign in to comment.