1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

aws cli 2

This commit is contained in:
Robin Appelman 2021-04-08 21:39:13 +02:00
commit 50af2de1b3
2 changed files with 7 additions and 4 deletions

View file

@ -19,11 +19,11 @@ RUN DEBIAN_FRONTEND=noninteractive ;\
nano \ nano \
sqlite \ sqlite \
s3cmd \ s3cmd \
awscli \
python3-pip && \ python3-pip && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.1.35.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
pip3 install awscli-plugin-endpoint pip3 install awscli-plugin-endpoint
RUN wget https://phar.phpunit.de/phpunit-8.phar -O /usr/local/bin/phpunit.phar
ADD configs/autoconfig_mariadb.php configs/autoconfig_mysql.php configs/autoconfig_pgsql.php configs/autoconfig_oci.php configs/s3.php configs/swift.php configs/swiftv3.php configs/azure.php configs/config.php /root/ ADD configs/autoconfig_mariadb.php configs/autoconfig_mysql.php configs/autoconfig_pgsql.php configs/autoconfig_oci.php configs/s3.php configs/swift.php configs/swiftv3.php configs/azure.php configs/config.php /root/
ADD configs/nginx-app.conf /etc/nginx/ ADD configs/nginx-app.conf /etc/nginx/

View file

@ -1,6 +1,9 @@
[default] [default]
s3 = s3 =
endpoint_url = http://s3:4566 endpoint_url = http://s3:4566
s3api =
endpoint_url = http://s3:4566
[plugins] [plugins]
endpoint = awscli_plugin_endpoint endpoint = awscli_plugin_endpoint
cli_legacy_plugin_path = /usr/local/lib/python3.7/dist-packages