Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed dockerfile by moving VOLUME directive to the bottom #1

Merged
merged 1 commit into from
Jun 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,11 @@ FROM php:5.6-apache
MAINTAINER Cyrill Kulka


## CONFIGURATION

# Expose data directory
VOLUME /var/html/Specific
## PREPARE INSTALL

# Version of Baikal
ENV VERSION 0.2.7


## PREPARE INSTALL

WORKDIR /var/www

# Install unzip for extracting baikal-flat
Expand All @@ -30,7 +24,9 @@ RUN apt-get update && apt-get install -y unzip
RUN \
curl -O http://baikal-server.com/get/baikal-flat-$VERSION.zip &&\
unzip baikal-flat-$VERSION.zip &&\
\
rm -rf html && mv baikal-flat html &&\
\
touch html/Specific/ENABLE_INSTALL &&\
chown -R www-data:www-data html

Expand All @@ -40,3 +36,10 @@ RUN \
RUN \
rm baikal-flat-$VERSION.zip &&\
apt-get -y autoremove unzip && apt-get -y clean


## IMAGE CONFIGURATION

# Expose data directory
VOLUME /var/www/html/Specific