Skip to content
Snippets Groups Projects

[faas#33] faas-registry updated.

Merged Dariusz Janny requested to merge janny/faas-registry:master into master
11 files
+ 414
8
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 9
5
@@ -9,25 +9,26 @@ RUN echo $FAAS_REGISTRY_NAME > /faas-docker-name
RUN echo $FAAS_REGISTRY_VERSION > /faas-docker-version
RUN apt-get -q update && \
apt-get install -y memcached apache2 composer git mc wget && \
apt-get install -y php-mysql php-curl php-memcached php-apcu php-cli php-bcmath php-xml libapache2-mod-php && \
apt-get install -y memcached apache2 python3-pip composer git mc wget gearman-tools gearman && \
apt-get install -y php php-common php7.4-opcache php-gd php-curl php-intl php-mbstring php-xmlrpc php-mysql php-soap php-bcmath php-zip php-memcached php-apcu php-cli php-xml php-gearman libapache2-mod-php && \
apt-get install -y mariadb-client && \
apt-get -y autoremove && \
apt-get -y clean
RUN a2enmod rewrite
RUN git clone https://github.com/Edugate/Jagger /opt/rr3 && cd /opt/rr3 && git checkout v1.8.0
#RUN git clone https://github.com/Edugate/Jagger /opt/rr3 && cd /opt/rr3 && git checkout v1.8.0
RUN git clone https://github.com/Edugate/Jagger /opt/rr3
RUN git clone https://github.com/bcit-ci/CodeIgniter.git /opt/codeigniter && cd /opt/codeigniter && git checkout 3.1.11
RUN cd /opt/rr3 && bash install.sh && \
cd /opt/rr3/application/config && \
cp config_rr-default.php config_rr.php && \
cp email-default.php email.php && \
cp memcached-default.php memcached.php
COPY ./conf/etc/registry/application/config/config.php /opt/rr3/application/config/config.php
COPY ./conf/etc/registry/application/config/config_rr.php /opt/rr3/application/config/config_rr.php
COPY ./conf/etc/registry/application/config/database.php /opt/rr3/application/config/database.php
COPY ./conf/etc/registry/application/config/email.php /opt/rr3/application/config/email.php
COPY ./conf/etc/registry/application/composer.json /opt/rr3/application/composer.json
RUN cp /opt/codeigniter/index.php /opt/rr3/index.php && \
@@ -36,6 +37,8 @@ RUN cp /opt/codeigniter/index.php /opt/rr3/index.php && \
composer update && \
composer install
RUN cd /opt && wget -4 http://shibboleth.net/downloads/tools/xmlsectool/latest/xmlsectool-3.0.0-bin.zip && unzip xmlsectool-3.0.0-bin.zip && ln -s xmlsectool-3.0.0 xmlsectool
EXPOSE 80
RUN mkdir -p /docker-entrypoint-initdb.d /var/log/rr3
@@ -44,6 +47,7 @@ RUN chmod 777 /var/log/rr3 /opt/rr3/application/models/Proxies
COPY ./conf/sql/01-init-registry.sql.template /docker-entrypoint-initdb.d
COPY ./conf/etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available
COPY ./conf/etc/supervisord.conf /etc/supervisord.conf
COPY ./conf/etc/entrypoint /etc/entrypoint
ENTRYPOINT ["/etc/entrypoint"]
\ No newline at end of file
Loading