Install and configure PMA
This commit is contained in:
parent
ac2fde70c7
commit
cfe1d1a2b6
@ -2,7 +2,7 @@ FROM debian:bullseye
|
|||||||
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
|
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
apt update && apt-get upgrade -y && apt-get install -y git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev libfmt-dev zlib1g-dev libgmp-dev libboost-all-dev curl iproute2 apache2 mariadb-client mariadb-server
|
apt update && apt-get upgrade -y && apt-get install -y git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev libfmt-dev zlib1g-dev libgmp-dev libboost-all-dev curl iproute2 apache2 mariadb-client mariadb-server bash-completion vim
|
||||||
|
|
||||||
RUN useradd -m -s /bin/bash tibia
|
RUN useradd -m -s /bin/bash tibia
|
||||||
RUN echo "tibia:tibia" | chpasswd
|
RUN echo "tibia:tibia" | chpasswd
|
||||||
@ -14,7 +14,7 @@ COPY app/SabrehavenServer /home/tibia/SabrehavenServer
|
|||||||
COPY app/1mindeploy /home/tibia/1mindeploy
|
COPY app/1mindeploy /home/tibia/1mindeploy
|
||||||
RUN chown -R tibia:tibia /home/tibia && chown -R www-data:www-data /var/www/ZnoteAAC
|
RUN chown -R tibia:tibia /home/tibia && chown -R www-data:www-data /var/www/ZnoteAAC
|
||||||
|
|
||||||
RUN chown -R tibia:tibia /home/tibia && chmod a+x /home/tibia/1mindeploy/*.sh && service mariadb start && /home/tibia/1mindeploy/DBCI.sh
|
RUN chown -R tibia:tibia /home/tibia && chmod a+x /home/tibia/1mindeploy/*.sh && service mariadb start && /home/tibia/1mindeploy/DBCI.sh && /home/tibia/1mindeploy/pma_install.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/home/tibia/1mindeploy/entrypoint.sh"]
|
ENTRYPOINT ["/home/tibia/1mindeploy/entrypoint.sh"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user