Sign inSign up

stevenli2019/30bs

By stevenli2019

•Updated over 4 years ago

Image
0

62

stevenli2019/30bs repository overview

FROM ubuntu:18.04

MAINTAINER steven [email protected]⁠

RUN apt-get update && apt-get install -y unzip nano iputils-ping net-tools sudo

RUN apt-get install -y apache2

ENV DEBIAN_FRONTEND noninteractive

ENV DEBCONF_NONINTERACTIVE_SEEN true

ENV APACHE_CONF_DIR=/etc/apache2 \

PHP_CONF_DIR=/etc/php/7.2 \

PHP_DATA_DIR=/var/lib/php

RUN echo "tzdata tzdata/Areas select Asia" > /tmp/preseed.txt; \

echo "tzdata tzdata/Zones/Asia select Singapore" >> /tmp/preseed.txt; \

debconf-set-selections /tmp/preseed.txt && \

apt-get update && \

apt-get install -y tzdata

RUN apt-get install -y php7.2 php7.2-gd php7.2-bcmath php7.2-xml php7.2-zip php7.2-mbstring php7.2-mysql certbot python3-certbot-apache

COPY thirtybees-v1.3.0.zip /var/www/html

RUN unzip /var/www/html/thirtybees-v1.3.0.zip -d /var/www/html

EXPOSE 80

EXPOSE 443

WORKDIR /var/www/html/

COPY entrypoint.sh /sbin/entrypoint.sh

RUN chmod 755 /sbin/entrypoint.sh

RUN rm /var/www/html/index.html

RUN chmod -R 777 /var/www/html/

CMD ["/sbin/entrypoint.sh"]

Tag summary

Content type

Image

Digest

Size

259.6 MB

Last updated

over 4 years ago

docker pull stevenli2019/30bs:1.0