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
RUN \
apk add --no-cache openssh git && \
python setup.py install 2>/dev/null && \
rm -rf /tmp/*
apk add --no-cache \
git \
git-fast-import \
openssh \
&& python setup.py install 2>/dev/null \
&& rm -rf /tmp/*
# Set working directory
WORKDIR /docs