Update the build makefile target to use Debian instead of Alpine
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
8
Makefile
8
Makefile
@@ -304,13 +304,13 @@ find-gitignores:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
docker rm -f mayan-edms-build || true && \
|
docker rm -f mayan-edms-build || true && \
|
||||||
docker run --rm --name mayan-edms-build -v $(HOME):/host_home:ro -v `pwd`:/host_source -w /source python:2-alpine3.7 /bin/busybox sh -c "\
|
docker run --rm --name mayan-edms-build -v $(HOME):/host_home:ro -v `pwd`:/host_source -w /source python:2-slim sh -c "\
|
||||||
rm /host_source/dist -R || true && \
|
rm /host_source/dist -R || true && \
|
||||||
mkdir /host_source/dist || true && \
|
mkdir /host_source/dist || true && \
|
||||||
export LC_ALL=en_US.UTF-8 && \
|
export LC_ALL=C.UTF-8 && \
|
||||||
cp -r /host_source/* . && \
|
cp -r /host_source/* . && \
|
||||||
apk update && \
|
apt-get update && \
|
||||||
apk add make && \
|
apt-get install -y make && \
|
||||||
pip install -r requirements/build.txt && \
|
pip install -r requirements/build.txt && \
|
||||||
make wheel && \
|
make wheel && \
|
||||||
cp dist/* /host_source/dist/"
|
cp dist/* /host_source/dist/"
|
||||||
|
|||||||
Reference in New Issue
Block a user