Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
ViralHostRangeDB
Commits
f5edad62
Commit
f5edad62
authored
Oct 01, 2019
by
Bryan BRANCOTTE
Browse files
WIP
#102
attempt to fix UnicodeEncodeError
parent
04215173
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/viralhostrange/Dockerfile
View file @
f5edad62
...
...
@@ -16,8 +16,18 @@ RUN apt-get update && \
apache2-dev
\
apache2-utils
\
python3-dev
\
locales
\
&&
rm
-rf
/var/lib/apt/lists/
*
# enabling en_US.UTF-8 to avoid encoding issue on file upload
RUN
sed
-i
-e
's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/'
/etc/locale.gen
&&
\
dpkg-reconfigure
--frontend
=
noninteractive locales
&&
\
update-locale
LANG
=
en_US.UTF-8
ENV
LANG en_US.UTF-8
ENV
LANGUAGE en_US:en
ENV
LC_ALL en_US.UTF-8
RUN
a2enmod
\
rewrite
\
expires
\
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment