Skip to content

Commit

Permalink
perl locale fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asgray committed Oct 1, 2024
1 parent 8e319d9 commit 2c30b62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
19 changes: 10 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ RUN apt-get -y update && apt-get -y install \
vim nano \
procps strace \
libpam-systemd- \
python3-setuptools
python3-setuptools \
locales

COPY src/* /opt/src/
COPY sha256sums.txt /opt/src/
Expand Down Expand Up @@ -81,13 +82,6 @@ RUN tar -x -f gt-1.6.4.tar.gz \
&& make -j4 cairo=no && make cairo=no prefix=/opt/genometools install \
&& make cleanup

# Configure TESorter
# RUN cd /opt \
# && tar -x -f src/TEsorter-1.4.6.tar.gz \
# && mv TEsorter-1.4.6 TEsorter \
# && cd TEsorter \
# && python3 setup.py install

# Configure LTR_retriever
RUN cd /opt \
&& tar -x -f src/LTR_retriever-2.9.0.tar.gz \
Expand Down Expand Up @@ -195,7 +189,14 @@ RUN cd /opt \
-ucsctools_dir=/opt/ucsc_tools

RUN echo "PS1='(dfam-tetools \$(pwd))\\\$ '" >> /etc/bash.bashrc
ENV LANG=C

# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

ENV PYTHONIOENCODING=utf8
ENV PATH=/opt/RepeatMasker:/opt/RepeatMasker/util:/opt/RepeatModeler:/opt/RepeatModeler/util:/opt/coseg:/opt/ucsc_tools:/opt:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/opt/rmblast/bin:/bin

Expand Down
3 changes: 0 additions & 3 deletions dfam-tetools.def
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
Bootstrap: docker-daemon
From: dfam/tetools:dev

%environment
export LANG=C

0 comments on commit 2c30b62

Please sign in to comment.