Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pasteque
pasteque-docker
Commits
fa3a3f6e
Commit
fa3a3f6e
authored
Jan 25, 2018
by
Ali Allaoui
Browse files
add pasteque-admin image
parent
c299390a
Changes
3
Hide whitespace changes
Inline
Side-by-side
admin/.htaccess
0 → 100644
View file @
fa3a3f6e
RewriteEngine
On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^ index.php [QSA,L]
admin/Dockerfile
0 → 100644
View file @
fa3a3f6e
FROM
marsonline/php-apache-pgsql:debian-9
MAINTAINER
ali.allaoui@gmail.com
RUN
rm
/var/www/html/index.html
RUN
wget https://framagit.org/pasteque/pasteque-admin/repository/archive.tar.gz?ref
=
8.0.0
RUN
tar
xzf archive.tar.gz?ref
=
8.0.0
RUN
cp
-r
pasteque-admin
*
/
*
/var/www/html
RUN
rm
-rf
pasteque-admin
WORKDIR
/var/www/html
RUN
composer
install
COPY
.htaccess /var/www/html/web
COPY
setup.sh /opt/docker/provision/entrypoint.d/30-pasteque.sh
RUN
sed
-i
's/AllowOverride None/AllowOverride All/g'
/etc/apache2/apache2.conf
RUN
sed
-i
's|/var/www/|/var/www/html/src/http/public/|g'
/etc/apache2/apache2.conf
admin/setup.sh
0 → 100644
View file @
fa3a3f6e
#!/bin/sh
# Pasteque Admin
##########################
cd
/var/www/html
php vendor/bin/doctrine orm:schema-tool:create
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment