mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
s3cmd
This commit is contained in:
parent
3215f8a8d4
commit
1a4fd72da2
3 changed files with 11 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ MAINTAINER Robin Appelman <robin@icewind.nl>
|
||||||
# MAINTAINER Josh Chaney <josh@chaney.io>
|
# MAINTAINER Josh Chaney <josh@chaney.io>
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive ;\
|
RUN DEBIAN_FRONTEND=noninteractive ;\
|
||||||
|
echo 'deb http://http.debian.net/debian buster-backports main' >> /etc/apt/sources.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install --assume-yes \
|
apt-get install --assume-yes \
|
||||||
cron \
|
cron \
|
||||||
|
|
@ -16,7 +17,8 @@ RUN DEBIAN_FRONTEND=noninteractive ;\
|
||||||
git \
|
git \
|
||||||
neovim \
|
neovim \
|
||||||
nano \
|
nano \
|
||||||
sqlite
|
sqlite \
|
||||||
|
s3cmd
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
@ -29,6 +31,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
|
||||||
|
|
||||||
ENV WEBROOT /var/www/html
|
ENV WEBROOT /var/www/html
|
||||||
|
|
||||||
|
|
|
||||||
6
images/haze/configs/s3cfg
Normal file
6
images/haze/configs/s3cfg
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[default]
|
||||||
|
access_key = DUMMY
|
||||||
|
secret_key = DUMMY
|
||||||
|
host_base = http://s3:4569/
|
||||||
|
host_bucket = http://s3:4569/%(bucket)
|
||||||
|
no_ssl = True
|
||||||
|
|
@ -10,7 +10,7 @@ GID=${GID:-1000}
|
||||||
|
|
||||||
groupadd -g $GID haze
|
groupadd -g $GID haze
|
||||||
useradd -m -u $UID -g $GID haze
|
useradd -m -u $UID -g $GID haze
|
||||||
chown haze:haze /home/haze
|
chown -R haze:haze /home/haze
|
||||||
|
|
||||||
/usr/local/sbin/php-fpm &
|
/usr/local/sbin/php-fpm &
|
||||||
/etc/init.d/nginx start
|
/etc/init.d/nginx start
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue