feat: make images arm64 compatible

This commit is contained in:
Revant Nandgaonkar
2021-01-05 14:47:01 +05:30
parent 77cfb50efe
commit 4f904fe3b9
5 changed files with 32 additions and 22 deletions

View File

@@ -1,9 +1,14 @@
ARG NODE_IMAGE_TAG=12-prod
ARG NODE_IMAGE_TAG=12-buster-slim
ARG GIT_BRANCH=develop
FROM bitnami/node:${NODE_IMAGE_TAG}
FROM node:${NODE_IMAGE_TAG}
ARG GIT_BRANCH
COPY build/erpnext-nginx/install_app.sh /install_app
COPY install_app.sh /install_app
RUN chmod +x /install_app && \
apt-get update -y && \
apt-get install build-essential git python2 -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN /install_app erpnext https://github.com/frappe/erpnext ${GIT_BRANCH}