Installing apigee/devportal-kickstart-project (8.x-dev 7ee3fdc0cb9c811cb2e12e05e64bbf0b1eae71c3) Warning from : Support for Composer 1 is deprecated and some packages will not be available. Below is the error I am gettingĮ: Failed to fetch Connection failed Į: Unable to fetch some archives, maybe run apt-get update or try with -fix-missing?Īlso I am getting below error Creating a "apigee/devportal-kickstart-project:8.x-dev" project at "./portal" Though I have followed the same steps, I am getting the errors during the build. ![]() I had already followed the steps you have mentioned. also If I uncommet the config setting code Community Member Thank you for responding. however, Not able to congiure apigee edge related configuration as it is not showing in drupal site. # import configuration files for rest moduleĪfter building the image and running the build, I am able to create the developer portal site. RUN chmod 777 /var/www/portal/web/sites/default/settings.php set-permissions.sh -drupal_path=$(pwd)/web -drupal_user=root -httpd_group=www-data vendor/drush/drush/drush cim -partial -source=$(pwd)/configĬOPY. vendor/drush/drush/drush config:set _edge_connection_default key_provider apigee_edge_environment_variables -no-interaction # configure apigee connection credentials from environment variables vendor/drush/drush/drush en rest restui basic_auth vendor/drush/drush/drush si apigee_devportal_kickstart -db-url="$DB_URL" -site-name="Apigee Developer Portal" -account-name="$ADMIN_USER" -account-pass="$ADMIN_PASS" -no-interaction RUN mkdir -p /var/www/portal/web/sites/default/files */DocumentRoot \/var\/www\/portal\/web/' /etc/apache2/sites-available/nf RUN composer require drupal/restui drush/drush:8.* #RUN composer require drupal/apigee_m10n drupal/restui drush/drush:8.* RUN composer create-project drupal-composer/drupal-project:8.x-dev portal -stability dev -no-interaction #RUN php -r "copy('', 'composer-setup.php') " RUN mv composer.phar /usr/local/bin/composer RUN php -r "unlink('composer-setup.php') " RUN php -r "copy('', 'composer-setup.php') " RUN echo "memory_limit = -1 " > /usr/local/etc/php/php.ini RUN docker-php-ext-configure gd -with-jpeg=/usr/include/ \ Libjpeg62-turbo-dev libpng-dev libwebp-dev libxpm-dev Libmagickwand-dev libpq-dev libfreetype6-dev \ Git ranger unzip vim sqlite3 postgresql-client libmagick++-dev \ RUN apt-get update & apt-get install -y curl \ # See the License for the specific language governing permissions and # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # distributed under the License is distributed on an "AS IS" BASIS, # Unless required by applicable law or agreed to in writing, software # You may obtain a copy of the License at # you may not use this file except in compliance with the License. # Licensed under the Apache License, Version 2.0 (the "License") ![]() Below is the docker file which I have created I am trying to setup a docker image for Drupal site and integrate with apigee edge so that I can use it in jenkins job so that whenever I do customization in my Drupal portal, get it deployed automatically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |