install: git

This commit is contained in:
peaceiris 2019-05-22 06:07:46 +09:00
parent e8b56e2967
commit c813462c35

View File

@ -15,7 +15,7 @@ ENV HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION
ENV BUILD_DEPS="wget" ENV BUILD_DEPS="wget"
RUN apt-get update && apt-get upgrade -y && \ RUN apt-get update && apt-get upgrade -y && \
apt-get install -y "${BUILD_DEPS}" && \ apt-get install -y git "${BUILD_DEPS}" && \
wget "${HUGO_URL}" && \ wget "${HUGO_URL}" && \
apt-get install "./${HUGO_NAME}.deb" && \ apt-get install "./${HUGO_NAME}.deb" && \
rm -rf "./${HUGO_NAME}.deb" "${HUGO_NAME}" && \ rm -rf "./${HUGO_NAME}.deb" "${HUGO_NAME}" && \