Block a user
apache-nv (1.0)
Published 2024-12-11 13:21:41 +07:00 by one
Installation
docker pull 10.9.10.205:3000/one/apache-nv:1.0sha256:5e039bd95ee4337292bf67b65a401e6a63874609bdd29e166b07c592ed6df535
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=20.04 |
| ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV JAVA_HOME=/usr/lib/jvm/jdk1.8.0_144 |
| ENV INSTALL4J_JAVA_HOME=/usr/lib/jvm/jdk1.8.0_144 |
| ENV PATH=/usr/lib/jvm/jdk1.8.0_144/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c apt-get update && apt-get install -y sudo curl unzip software-properties-common && adduser --disabled-password --gecos "" pacs && echo "pacs:pacs123" | chpasswd && adduser --disabled-password --gecos "" mirth && echo "mirth:mirth123" | chpasswd && usermod -aG sudo pacs && apt-get clean # buildkit |
| COPY jdk-8u144-linux-x64.tar.gz /tmp/ # buildkit |
| RUN /bin/sh -c mkdir -p /usr/lib/jvm && tar xfv /tmp/jdk-8u144-linux-x64.tar.gz -C /tmp/ && mv /tmp/jdk1.8.0_144 /usr/lib/jvm/ && rm /tmp/jdk-8u144-linux-x64.tar.gz # buildkit |
| RUN /bin/sh -c echo "export JAVA_HOME=${JAVA_HOME}" >> /etc/profile && echo "export INSTALL4J_JAVA_HOME=${INSTALL4J_JAVA_HOME}" >> /etc/profile && echo "export PATH=${JAVA_HOME}/bin:${PATH}" >> /etc/profile # buildkit |
| RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y apache2 php7.4 php7.4-cli php7.4-common php7.4-mysql php7.4-gd php7.4-mbstring php7.4-bcmath php7.4-intl php7.4-xml php7.4-curl php7.4-zip libapache2-mod-php7.4 wget sudo && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c a2enmod php7.4 && a2enmod rewrite # buildkit |
| RUN /bin/sh -c chmod 777 /var/www/html # buildkit |
| RUN /bin/sh -c mkdir -p /tmp/dicom/ # buildkit |
| COPY pacs_installer/html/nv/dcm4che /var/www/dcm4che/ # buildkit |
| RUN /bin/sh -c chmod +x /var/www/dcm4che/dcm4che2/bin/dcmqr # buildkit |
| RUN /bin/sh -c sed -i 's/^ErrorLog.*/ErrorLog \/dev\/stdout/' /etc/apache2/apache2.conf && sed -i 's/^CustomLog.*/CustomLog \/dev\/stdout combined/' /etc/apache2/apache2.conf # buildkit |
| EXPOSE map[80/tcp:{}] |
| RUN /bin/sh -c echo "ServerName localhost" >> /etc/apache2/apache2.conf # buildkit |
| CMD ["/usr/sbin/apache2ctl" "-D" "FOREGROUND"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 20.04 |