Fixed gh-deploy error inside Docker due to Alpine package restructuring

This commit is contained in:
squidfunk 2018-01-29 15:02:27 +01:00 committed by Martin Donath
parent 263e2a84f5
commit 4666bf0223

View File

@ -33,9 +33,12 @@ COPY setup.py setup.py
# Perform build and cleanup artifacts # Perform build and cleanup artifacts
RUN \ RUN \
apk add --no-cache openssh git && \ apk add --no-cache \
python setup.py install 2>/dev/null && \ git \
rm -rf /tmp/* git-fast-import \
openssh \
&& python setup.py install 2>/dev/null \
&& rm -rf /tmp/*
# Set working directory # Set working directory
WORKDIR /docs WORKDIR /docs