Skip to content

Commit a3fe620

Browse files
authored
Merge pull request #42 from jlab/qp-qiime2-timezone-fix
qp-qiime2 timezone fix
2 parents 626afc1 + d2f7467 commit a3fe620

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Images/qp-qiime2/qp-qiime2.dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN apt-get -y --fix-missing install \
1515
python3-dev \
1616
gcc \
1717
build-essential \
18-
zip
18+
zip \
19+
tzdata
1920

2021
# install miniforge3 for "conda"
2122
# see https://github.com/conda-forge/miniforge-images/blob/master/ubuntu/Dockerfile
@@ -74,6 +75,15 @@ RUN export QIITA_CONFIG_FP=/qiita/config_qiita_oidc.cfg
7475
# let the container know it's plugin name
7576
ENV PLUGIN=qp-qiime2
7677

78+
# configure language
79+
ENV LC_ALL=C.UTF-8
80+
ENV LANG=C.UTF-8
81+
82+
# configure timezone
83+
RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
84+
RUN dpkg-reconfigure -f noninteractive tzdata
85+
86+
7787
WORKDIR /
7888

7989
COPY start_qp-qiime2.sh .

0 commit comments

Comments
 (0)