diff --git a/magento2-unit-test/latest/Dockerfile b/magento2-unit-test/latest/Dockerfile index bd975252ef04496b9496ed87dff769b3539df565..aae82f3e81cba2b4daf565266028f5d7636f8596 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 1431c530c2c3d272bad895639c7916a0747c3bb5..0000000000000000000000000000000000000000 --- 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