Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
skeleton-application
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
skeleton-application
Commits
110fd808
Commit
110fd808
authored
8 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Docker.
parent
07d74885
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+35
-0
35 additions, 0 deletions
Dockerfile
apache.conf
+16
-0
16 additions, 0 deletions
apache.conf
with
51 additions
and
0 deletions
Dockerfile
0 → 100644
+
35
−
0
View file @
110fd808
FROM
thomasbisignani/docker-apache-php-oracle
# Autre images intéressantes : https://hub.docker.com/r/alexisno/apache-php-dev/
MAINTAINER
Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
#ENV http_proxy http://10.14.128.99:3128
# Remplacé par "--build-arg http_proxy=http://10.14.128.99:3128" lors du build
ARG
http_proxy
RUN
apt-get update
RUN
apt-get
install
-y
vim wget git subversion sqlite
RUN
apt-get
install
-y
php5-sqlite php5-mysql php5-ldap php5-intl php5-curl php5-xdebug php-apc
RUN
echo
"date.timezone=Europe/Paris"
>>
/etc/php5/apache2/conf.d/01-timezone.ini
&&
\
echo
"error_reporting = E_ALL
\n
display_startup_errors = 1
\n
display_errors = 1"
>>
/etc/php5/apache2/conf.d/01-errors.ini
&&
\
echo
"error_reporting = E_ALL
\n
display_startup_errors = 1
\n
display_errors = 1"
>>
/etc/php5/cli/conf.d/01-errors.ini
&&
\
echo
"upload_max_filesize = 51M
\n
post_max_size = 60M"
>>
/etc/php5/apache2/conf.d/02-uploads.ini
&&
\
echo
"memory_limit = 256M"
>>
/etc/php5/apache2/conf.d/03-memory.ini
&&
\
echo
"xdebug.remote_enable=1"
>>
/etc/php5/apache2/conf.d/20-xdebug.ini
&&
\
echo
"xdebug.remote_connect_back=1"
>>
/etc/php5/apache2/conf.d/20-xdebug.ini
&&
\
echo
"xdebug.profiler_enable_trigger=1"
>>
/etc/php5/apache2/conf.d/20-xdebug.ini
&&
\
echo
"xdebug.max_nesting_level=250"
>>
/etc/php5/apache2/conf.d/20-xdebug.ini
# Install Composer
RUN
cd
$HOME
&&
\
curl
-sS
https://getcomposer.org/installer | php
&&
\
chmod
+x composer.phar
&&
\
mv
composer.phar /usr/local/bin/composer
RUN
rm
-f
/etc/apache2/sites-enabled/000-default.conf
COPY
apache.conf /etc/apache2/sites-available/app.conf
RUN
a2ensite app
ENTRYPOINT
["/usr/sbin/apache2", "-D", "FOREGROUND"]
This diff is collapsed.
Click to expand it.
apache.conf
0 → 100644
+
16
−
0
View file @
110fd808
<
VirtualHost
*:
80
>
ServerName
localhost
DocumentRoot
/
opt
/
app
/
public
RewriteEngine
On
<
Directory
/
opt
/
app
/
public
>
DirectoryIndex
index
.
php
AllowOverride
All
Require
all
granted
</
Directory
>
ErrorLog
${
APACHE_LOG_DIR
}/
error
.
log
CustomLog
${
APACHE_LOG_DIR
}/
access
.
log
combined
#LogLevel debug
</
VirtualHost
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment