mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-25 03:16:02 +00:00
2c97ffd579
* fix(erpnext-nginx): Install recommended apt packages, set DEBIAN_FRONTEND=noninteractive
* Revert "fix(erpnext-nginx): Install recommended apt packages, set DEBIAN_FRONTEND=noninteractive"
This reverts commit 652481175d
.
* fix(erpnext-worker): Install gcc
16 lines
377 B
Docker
16 lines
377 B
Docker
ARG IMAGE_TAG=develop
|
|
ARG DOCKER_REGISTRY_PREFIX=frappe
|
|
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}
|