fix(erpnext-worker): Install gcc

This commit is contained in:
Lev 2021-11-10 10:54:25 +03:00
parent 6f9987447f
commit fe813c62db

View file

@ -5,4 +5,11 @@ FROM ${DOCKER_REGISTRY_PREFIX}/frappe-worker:${IMAGE_TAG}
ARG GIT_REPO=https://github.com/frappe/erpnext
ARG GIT_BRANCH=develop
USER root
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
USER frappe
RUN install_app erpnext ${GIT_REPO} ${GIT_BRANCH}