Install git

This commit is contained in:
Oliver Walters 2021-03-31 22:55:44 +11:00
parent 58bfc80f79
commit 601aff8283

View File

@ -22,6 +22,9 @@ RUN addgroup -S inventreegroup && adduser -S inventree -G inventreegroup
USER inventree USER inventree
WORKDIR /home/inventree WORKDIR /home/inventree
# Install git
RUN apt add --no-cache git
# Clone source code # Clone source code
RUN git clone --branch $INVENTREE_VERSION --depth 1 ${INVENTREE_REPO} ${INVENTREE_SRC_DIR} RUN git clone --branch $INVENTREE_VERSION --depth 1 ${INVENTREE_REPO} ${INVENTREE_SRC_DIR}