diff --git a/install/alpine_requirements_build.sh b/install/alpine_requirements_build.sh new file mode 100644 index 0000000..ad26928 --- /dev/null +++ b/install/alpine_requirements_build.sh @@ -0,0 +1 @@ +apk add gcc libxml2-dev libxslt-dev py3-pip libc-dev linux-headers diff --git a/install/alpine_requirements_build_volatile.sh b/install/alpine_requirements_build_volatile.sh new file mode 100644 index 0000000..2248e34 --- /dev/null +++ b/install/alpine_requirements_build_volatile.sh @@ -0,0 +1 @@ +apk add --no-cache --virtual .build-deps gcc libxml2-dev libxslt-dev py3-pip libc-dev linux-headers diff --git a/install/alpine_requirements_run.sh b/install/alpine_requirements_run.sh new file mode 100644 index 0000000..4704349 --- /dev/null +++ b/install/alpine_requirements_run.sh @@ -0,0 +1 @@ +apk add python3 python3-dev imagemagick tzdata diff --git a/install_alpine.sh b/install_alpine.sh index 9f8a867..bcc56e9 100644 --- a/install_alpine.sh +++ b/install_alpine.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash -apk add python3 python3-dev gcc libxml2-dev libxslt-dev py3-pip libc-dev linux-headers -pip3 install psutil wheel +sh ./install/alpine_requirements_run.sh +sh ./install/alpine_requirements_build.sh +pip3 install wheel pip3 install malojaserver diff --git a/install_ubuntu.sh b/install_ubuntu.sh index d30bd7b..ff0bd66 100644 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash apt update apt install python3 python3-pip -pip3 install psutil pip3 install malojaserver