Page MenuHomeDevCentral

No OneTemporary

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index c2a47f6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-stopwords.txt
diff --git a/Dockerfile b/Dockerfile
index d9100f8..6d09da3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,13 @@
#
# Nasqueron - MySQL image
#
FROM mysql
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
#
# Phabricator desiderata
#
-COPY stopwords.txt /etc/mysql/
+COPY files /etc/mysql/
RUN sed -i "s/\[mysqld\]/[mysqld]\n#\n# * Phabricator specific settings\n#\nsql_mode=STRICT_ALL_TABLES\nft_stopword_file=\/etc\/mysql\/stopwords.txt\nft_min_word_len=3\nft_boolean_syntax=' |-><()~*:\"\"\\&^'\ninnodb_buffer_pool_size=410M\n/" /etc/mysql/my.cnf
diff --git a/Makefile b/Makefile
index b76cd36..7a54070 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-all: stopwords.txt rebuild
+all: files/stopwords.txt rebuild
-stopwords.txt:
- wget https://raw.githubusercontent.com/phacility/phabricator/master/resources/sql/stopwords.txt
+files/stopwords.txt:
+ wget -O files/stopwords.txt https://raw.githubusercontent.com/phacility/phabricator/master/resources/sql/stopwords.txt
rebuild:
docker build --tag nasqueron/mysql .
diff --git a/files/stopwords.txt b/files/stopwords.txt
new file mode 100644
index 0000000..89f5d06
--- /dev/null
+++ b/files/stopwords.txt
@@ -0,0 +1,50 @@
+the
+be
+and
+of
+a
+in
+to
+have
+to
+it
+I
+that
+for
+you
+he
+with
+on
+do
+say
+this
+they
+at
+but
+we
+his
+from
+that
+not
+by
+or
+as
+what
+go
+their
+can
+who
+get
+if
+would
+all
+my
+will
+as
+up
+there
+so
+its
+us
+in
+on

File Metadata

Mime Type
text/x-diff
Expires
Thu, Sep 18, 14:20 (16 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2990967
Default Alt Text
(1 KB)

Event Timeline