ADD file:76e34169c55e33fc4dc8fb3ea83a1b1e18a3137328bcc904844acc913342b317 in / |
CMD ["bash"] |
WORKDIR /root |
ARG PHPVERSION=7.4 |
SHELL [/bin/bash -c] |
RUN |1 PHPVERSION=7.4 /bin/bash -c apt update && apt upgrade -y # buildkit |
ENV LANG=en_US.UTF-8 |
ENV LANGUAGE=en_US:en |
ENV LC_ALL=en_US.UTF-8 |
RUN |1 PHPVERSION=7.4 /bin/bash -c apt install locales -y && apt auto-remove -y && apt clean -y # buildkit |
RUN |1 PHPVERSION=7.4 /bin/bash -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit |
RUN |1 PHPVERSION=7.4 /bin/bash -c apt install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends && apt auto-remove -y && apt clean -y # buildkit |
RUN |1 PHPVERSION=7.4 /bin/bash -c apt install build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev virtualenv libjpeg-dev libxslt1-dev -y --no-install-recommends # buildkit |
RUN |1 PHPVERSION=7.4 /bin/bash -c mkdir -p ~/synapse && virtualenv -p python3 ~/env && source ~/env/bin/activate && pip install --upgrade pip && pip install --upgrade setuptools && pip install matrix-synapse # buildkit |
COPY buildfiles/auto_config.sh . # buildkit |
COPY buildfiles/start_services.sh . # buildkit |
RUN |1 PHPVERSION=7.4 /bin/bash -c chmod +x auto_config.sh # buildkit |
RUN |1 PHPVERSION=7.4 /bin/bash -c chmod +x start_services.sh # buildkit |
CMD ["./start_services.sh"] |