Skip to content

Commit

Permalink
image mrbs without any customization
Browse files Browse the repository at this point in the history
  • Loading branch information
85humberto committed May 16, 2020
1 parent 845dd54 commit d55450e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions mrbs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM php:7.3-apache-buster

ARG BUILD_DATE
ARG VCS_REF
LABEL maintainer="[email protected]" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="CTIC-SJE-IFSC Kubernetes: MRBS" \
org.label-schema.description="Nuvem privada do Câmpus São José do IFSC" \
org.label-schema.license="MIT" \
org.label-schema.url="https://projetos.sj.ifsc.edu.br" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/ctic-sje-ifsc/servicos_kubernetes" \
org.label-schema.vendor="CTIC" \
org.label-schema.version="1.7.5" \
org.label-schema.schema-version="1.0"

COPY --chown=www-data mrbs-1.7.5/web/ /var/www/html/

RUN apt-get update \
&& apt-get install -y locales libldap2-dev \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-install ldap \
&& docker-php-ext-install pdo_mysql \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

EXPOSE 80/TCP

0 comments on commit d55450e

Please sign in to comment.