<commit_before># Set the base image
FROM php:5.6-apache

# File Author / Maintainer
MAINTAINER <NAME>


## PREPARE INSTALL

# Version of Baikal
ENV VERSION 0.2.7

WORKDIR /var/www

# Install unzip for extracting baikal-flat
RUN apt-get update && apt-get install -y unzip


## BEGIN INSTALLATION

# 1. Download & unzip baikal-flat
# 2. Replace /var/www/html
# 3. Prepare files & folders so Baikal is ready to go
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


## IMAGE CLEANUP

RUN \<commit_msg>Fixed ENABLE_INSTALL behavior, it's no longer required to create this file manually<commit_after># Set the base image
FROM php:5.6-apache

# File Author / Maintainer
MAINTAINER <NAME>


## PREPARE INSTALL

# Version of Baikal
ENV VERSION 0.2.7

WORKDIR /var/www

# Install unzip for extracting baikal-flat
RUN apt-get update && apt-get install -y unzip


## BEGIN INSTALLATION

# 1. Download & unzip baikal-flat
# 2. Replace /var/www/html
# 3. Prepare files & folders so Baikal is ready to go
RUN \
  curl -O http://baikal-server.com/get/baikal-flat-$VERSION.zip &&\
  unzip baikal-flat-$VERSION.zip &&\
  \
  rm -rf html && mv baikal-flat html &&\
  \
  service apache2 start &&\
  curl http://localhost/admin/install/ &&\
  touch html/Specific/ENABLE_INSTALL &&\
  chown -R www-data:www-data html &&\
  service apache2 stop


## IMAGE CLEANUP

RUN \
{'fraction_non_alphanumeric': 0.11929595827900913, 'fraction_numerical': 0.011734028683181226, 'mean_word_length': 3.137466307277628, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4072272', 'n_tokens_mistral': 596, 'n_tokens_neox': 563, 'n_words': 167}