From 2dc8b0453410df5b41cefc61856221d9e791f7a3 Mon Sep 17 00:00:00 2001 From: Alan Nelson <alan.nelson@nebraska.edu> Date: Fri, 7 Sep 2018 16:23:02 -0500 Subject: [PATCH] Remove script to set composer credentials --- magento2-unit-test/latest/Dockerfile | 4 ---- magento2-unit-test/latest/set-mg2-credentials | 18 ------------------ 2 files changed, 22 deletions(-) delete mode 100644 magento2-unit-test/latest/set-mg2-credentials diff --git a/magento2-unit-test/latest/Dockerfile b/magento2-unit-test/latest/Dockerfile index bd97525..aae82f3 100644 --- a/magento2-unit-test/latest/Dockerfile +++ b/magento2-unit-test/latest/Dockerfile @@ -33,8 +33,4 @@ RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \ # PHP Config file COPY php.ini /etc/php.d/mg2.ini -# Custom Scrips -COPY set-mg2-credentials /usr/local/bin/set-mg2-credentials -RUN chmod 755 /usr/local/bin/set-mg2-credentials - CMD ["bash"] diff --git a/magento2-unit-test/latest/set-mg2-credentials b/magento2-unit-test/latest/set-mg2-credentials deleted file mode 100644 index 1431c53..0000000 --- a/magento2-unit-test/latest/set-mg2-credentials +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -if [[ "$#" -ne 2 ]]; then - echo "Please provide both the username and password" - exit 1 -fi - -mkdir -p /root/.composer -cat > /root/.composer/auth.json <<EOF -{ - "http-basic": { - "repo.magento.com": { - "username": "$1", - "password": "$2" - } - } -} -EOF -- GitLab