2020-02-19 15:31:39 +00:00
|
|
|
FROM archlinux/base:latest
|
|
|
|
RUN pacman -Syu --needed --noconfirm \
|
|
|
|
git \
|
|
|
|
libffi \
|
|
|
|
tesseract \
|
|
|
|
openssl \
|
|
|
|
bzip2 \
|
|
|
|
zlib \
|
|
|
|
readline \
|
|
|
|
sqlite \
|
|
|
|
fortune-mod \
|
|
|
|
figlet \
|
|
|
|
python-virtualenv \
|
|
|
|
redis \
|
|
|
|
libxslt \
|
|
|
|
libxml2 \
|
|
|
|
libpqxx \
|
|
|
|
linux-api-headers \
|
|
|
|
freetype2 \
|
|
|
|
jpeg-archive \
|
|
|
|
curl \
|
|
|
|
wget \
|
|
|
|
neofetch \
|
|
|
|
sudo \
|
|
|
|
gcc \
|
|
|
|
imagemagick \
|
|
|
|
libwebp \
|
|
|
|
zbar \
|
|
|
|
ffmpeg \
|
|
|
|
procps-ng
|
|
|
|
RUN sed -e 's;^# \(%wheel.*NOPASSWD.*\);\1;g' -i /etc/sudoers
|
|
|
|
RUN useradd pagermaid -r -m -d /pagermaid
|
|
|
|
RUN usermod -aG wheel,users pagermaid
|
|
|
|
USER pagermaid
|
|
|
|
RUN mkdir /pagermaid/workdir
|
2021-04-14 16:23:12 +00:00
|
|
|
RUN git clone -b master https://github.com/Xtao-Labs/PagerMaid-Modify.git /pagermaid/workdir
|
2020-02-19 15:31:39 +00:00
|
|
|
WORKDIR /pagermaid/workdir
|
|
|
|
RUN python3 -m virtualenv venv
|
|
|
|
RUN source venv/bin/activate; pip3 install -r requirements.txt
|
2020-04-04 06:19:33 +00:00
|
|
|
CMD ["sh","utils/docker-run.sh"]
|
2020-08-10 15:53:59 +00:00
|
|
|
|