mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 08:59:23 +01:00
Add entrypoint for Container
- Adds config.php if not available - Runs console.php for installation
This commit is contained in:
@@ -12,6 +12,7 @@ RUN apt-get update && \
|
||||
libkrb5-dev \
|
||||
libpng-dev \
|
||||
libpq-dev \
|
||||
netcat \
|
||||
&& apt-get autoclean; apt-get autoremove && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@@ -38,3 +39,7 @@ ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||
RUN tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||
rm "/tmp/${version}.tar.gz" && \
|
||||
chown -R www-data:www-data /var/www/html
|
||||
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
||||
1
apache/entrypoint.sh
Symbolic link
1
apache/entrypoint.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../entrypoint.sh
|
||||
Reference in New Issue
Block a user