mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
aws cli
This commit is contained in:
parent
2886174c5a
commit
74b1dec83b
3 changed files with 14 additions and 1 deletions
|
|
@ -18,7 +18,10 @@ RUN DEBIAN_FRONTEND=noninteractive ;\
|
||||||
neovim \
|
neovim \
|
||||||
nano \
|
nano \
|
||||||
sqlite \
|
sqlite \
|
||||||
s3cmd
|
s3cmd \
|
||||||
|
awscli \
|
||||||
|
python3-pip && \
|
||||||
|
pip3 install awscli-plugin-endpoint
|
||||||
|
|
||||||
RUN wget https://phar.phpunit.de/phpunit-8.phar -O /usr/local/bin/phpunit.phar
|
RUN wget https://phar.phpunit.de/phpunit-8.phar -O /usr/local/bin/phpunit.phar
|
||||||
|
|
||||||
|
|
@ -32,6 +35,7 @@ RUN crontab /etc/oc-cron.conf
|
||||||
ADD misc/bootstrap.sh misc/occ misc/tests misc/phpunit misc/install misc/occ misc/integration /usr/local/bin/
|
ADD misc/bootstrap.sh misc/occ misc/tests misc/phpunit misc/install misc/occ misc/integration /usr/local/bin/
|
||||||
ADD configs/sudoers /etc/sudoers.d/haze
|
ADD configs/sudoers /etc/sudoers.d/haze
|
||||||
ADD configs/s3cfg /home/haze/.s3cfg
|
ADD configs/s3cfg /home/haze/.s3cfg
|
||||||
|
ADD configs/aws /home/haze/.aws
|
||||||
|
|
||||||
ENV WEBROOT /var/www/html
|
ENV WEBROOT /var/www/html
|
||||||
|
|
||||||
|
|
|
||||||
6
images/haze/configs/aws/config
Normal file
6
images/haze/configs/aws/config
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[default]
|
||||||
|
s3 =
|
||||||
|
endpoint_url = http://s3:4566
|
||||||
|
|
||||||
|
[plugins]
|
||||||
|
endpoint = awscli_plugin_endpoint
|
||||||
3
images/haze/configs/aws/credentials
Normal file
3
images/haze/configs/aws/credentials
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[default]
|
||||||
|
aws_access_key_id = dummy
|
||||||
|
aws_secret_access_key = dummy
|
||||||
Loading…
Add table
Add a link
Reference in a new issue